Ubuntu Package nicht Upgraden

How to prevent updating of a specific package?

Using dpkg

Put a package on hold

echo "package hold" | sudo dpkg --set-selections

Remove the hold

echo "package install" | sudo dpkg --set-selections

Displaying the status of your packages

dpkg --get-selections

Displaying the status of a single package

dpkg --get-selections | grep "package"

Using apt

you can hold a package using

sudo apt-mark hold package_name

and remove the hold with

sudo apt-mark unhold package_name

Using aptitude

you can hold a package using

sudo aptitude hold package_name

and remove the hold with

sudo aptitude unhold package_name

One thought on “Ubuntu Package nicht Upgraden

  1. Pingback: Ubuntu apt-get Packet ausschliessen | Andreas' Blog

Leave a Reply

Your email address will not be published. Required fields are marked *