How to prevent updating of a specific package?

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1776
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
How to prevent updating of a specific package?

Post by Stevyn » Mon Jan 10, 2022 6:10 pm

How to prevent updating of a specific package?

https://askubuntu.com/questions/18654/h ... ic-package

Holding
There are different ways of holding back packages: with dpkg, apt, dselect, aptitude or Synaptic.



Hold a package:

Code: Select all

sudo apt-mark hold <package-name>
Remove the hold:

Code: Select all

sudo apt-mark unhold <package-name>
Show all packages on hold:

Code: Select all

sudo apt-mark showhold
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply