9 Jun
If you want to update all the packages other than one package in your Ubuntu system follow this procedure
There are three ways of holding back packages, with dpkg, aptitude or with dselect.
Using dpkg
Put a package on hold
Example
Remove the hold
Example
Knowing the status of your packages
Using aptitude
With aptitude, you can hold a package using
Example
and remove the hold with
Example
Using dselect
With dselect, you just have to enter the [S]elect screen, find the package you wish to hold in its present state, and press the `=’ key (or `H’). The changes will go live immediately after you exit the [S]elect screen.
via How to prevent a package from being updated in Ubuntu | Ubuntu Geek.
Recent Comments