Update-manager marks upgrades as completed even if they aren't
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
After running out of disk space on /boot in the middle of an upgrade (due to Bug #105113), I noticed that update-manager marks all packages as upgraded, even if some failed.
The problem is that even *IF* the user studies the log output and fixes the problem (in my case, finds the "No space left on device" message that is hidden in the detail logs), update-manager provides them no way to reattempt the upgrade; when they go into update-manager later, the failing package(s) are no longer listed as needing to be installed.
Not only does this mean they have to open a shell and do it manually after fixing the problem (in this case, clearing some disk space), but could allow the user to forget to "finish" the upgrade, or worse, misled the user into thinking the upgrade actually did complete because it is not listed in the upgrade-manager queue.
This is easy to reproduce: make sure the /boot partition doesn't quite have enough space for a new kernel, and then attempt to upgrade the kernel. When it fails, simply delete files so that it has enough space, and then use aptitude or apt-get to install.
Running 8.04.1, and
$ apt-cache policy update-manager
update-manager:
Installed: 1:0.87.27
Candidate: 1:0.87.27
Version table:
*** 1:0.87.27 0
500 http://
100 /var/lib/
I've also submitted Bug #254477 on potentially confusing feedback to the user when upgrades fail.
Thanks for your bugreport.
Can you please attach the log /var/log/ apt/term. log to this bugreport?