Page 1 of 1

How to prevent updating of a specific package?

Posted: Mon Jan 10, 2022 6:10 pm
by Stevyn
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