aptitude dist-upgrade keeps packages back when it shouldn't
Bug #22083 reported by
Michael Vogt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Example (messages translated from german, may not be accurate):
$ sudo aptitude dist-upgrade
The following packages are kept back:
evolution-webcal gnome-app-install libaudio-dev libcupsys2 zlib-bin
$ sudo apt-get -u dist-upgrade
The following packages will be upgraded:
evolution-webcal gnome-app-install libaudio-dev libcupsys2 zlib-bin
5 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
The /var/lib/
http://
Apparently this is serious as it seems to break even security dist-upgrades
sometimes.
To post a comment you must log in.
A problem is that aptitude uses a different dist-upgrade algorithm than apt. It :mark_all_ upgradable( ). This algorithm takes the
internally uses depcache:
packagestates into account and will only work (that is upgrade) packages with
aptitude (sticky) state "Unknown" or "Install". The problem is that the three
packages that are held back are in state "DeInstall" because they are marked to
be delted from the auto-delete feature of aptitude.