Possible Duplicate:
How to prevent updating of a specific package?
Keep the Ubuntu package version I'm using now
Is it possible to upgrade all packages except a given package? Is there something like apt-get upgrade --exclude package_to_exclude
?
Possible Duplicate:
How to prevent updating of a specific package?
Keep the Ubuntu package version I'm using now
Is it possible to upgrade all packages except a given package? Is there something like apt-get upgrade --exclude package_to_exclude
?
To hold a package:
In short: sudo apt-mark hold <package>
or
echo <package> hold | sudo dpkg --set-selections
To unhold a package:
In short: sudo apt-mark unhold <package>
or
echo <package> install | sudo dpkg --set-selections
apt-mark: error: first argument must be 'markauto', 'unmarkauto' or 'showauto'`
– Olivier Lalonde Jan 30 '12 at 04:25sudo apt-mark hold unity-greeter
– Zoke
Jan 30 '12 at 04:28
sudo apt-mark showhold
will show that it is now on hold. (Note: that isn't showhole
, that's a Netflix error state.)
– flickerfly
Oct 31 '16 at 17:30