holding back packages with aptitude

source : debian-user-digest # 1165,1170.


A common use case with aptitude ( interactive mode ) / apt-listbugs is :
a) order an upgrade
b) aptitude downloads packages
c) apt-listbugs reports some serious bug in a package
d) I decide not to install / upgrade the problematic package, after reading the short bug description, or looking it up in the BTS
e) hit 'n' to abort the installation / upgrade
f) search for the package via something like '^first-few-letters-of-package', and keep looking until I find the right one.
g) hold with '='
h) reorder the upgrade


Solution :
a) -e) as above

f) hit 'g' to see the actions preview again.

g) Scroll to the buggy packages in the actions preview, where they are easy to find, and use 'F' to forbid upgrades to the buggy versions. ( You can also use '=' to hold if you prefer; I like forbid-version better because it means that I do not have to remember to remove the hold once a newer, hopefully fixed, version is available. )

h) press 'g' again to go ahead with the upgrade of all other packages.
 
 
Creative Commons License
This work by maniac.vardhan is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
 
 

0 comments :: holding back packages with aptitude

Post a Comment