PackageKit does not respect "hold" state of packages.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
In some systems, you have to put "on hold" a package X to avoid it is updated. Then, if you execute
sudo apt-get update && sudo apt-get dist-upgrade
it tells you that the package X is "on hold" and that is not going to be updated. Correct. But sooner or later appears the automatic graphical updating tool (I suppose it's Kpackagekit or "kubuntu-
WHAT IT IS EXPECTED TO HAPPEN
That the automatic graphical updating tool worked like the CLI tool and knew that when a package is "on hold"... must not be updated.
KUBUNTU VERSION:
Kubuntu 10.04
MORE INFORMATION:
To put a package to hold:
echo "package_name hold" | sudo dpkg --set-selections
to 'unhold' it:
echo "package_name install" | sudo dpkg --set-selecions
To see which are your packages 'on hold':
dpkg --get-selections | grep hold
STEPS TO REPRODUCE
When you are going to update your Kubuntu, you can try to "hold" a package before really doing it... and see the difference between the good behavior of "sudo apt-get update && sudo apt-get dist-upgrade" and the bad one of the graphical update program.