Because of bug #693758 I'd like to prevent apt-get upgrade
and Update Manager from updating the "libgtk2.0-0" package.
How can this be achieved?
package-managementupdates
Because of bug #693758 I'd like to prevent apt-get upgrade
and Update Manager from updating the "libgtk2.0-0" package.
How can this be achieved?
Best Answer
Holding
There are different ways of holding back packages: with
dpkg
,apt
,dselect
,aptitude
or Synaptic.dpkg
Put a package on hold:
Remove the hold:
Display the status of all your packages:
Display the status of a single package:
Show all packages on hold:
apt
Hold a package:
Remove the hold:
Show all packages on hold:
dselect
With dselect, enter the [S]elect screen, find the package you wish to hold in its present state and press = or H. The changes will take effect immediately after exiting the [S]elect screen.
The following approaches are limited in that locking/holding a package within aptitude or synaptic doesn't affect apt-get/apt.
aptitude
Hold a package:
Remove the hold:
Locking with Synaptic Package Manager
Go to Synaptic Package Manager (System > Administration > Synaptic Package Manager).
Click the search button and type the package name.
When you find the package, select it and go to the Package menu and select Lock Version.
That package will now not show in the update manager and will not be updated.