[Bug 571734] Re: crashes if a package fails to get marked for upgrade
Ubuntu QA's Bug Bot
bug-stats at murraytwins.com
Mon Sep 19 21:16:16 UTC 2011
** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/571734
Title:
crashes if a package fails to get marked for upgrade
Status in “unattended-upgrades” package in Ubuntu:
Fix Released
Status in “unattended-upgrades” source package in Lucid:
Fix Released
Bug description:
Binary package hint: unattended-upgrades
When a package is marked for upgrade but can not be upgraded (a rare
situation) it fails with the following error:
...
package 'libcompizconfig0-dev' upgradable but fails to be marked for upgrade (E:Unable to correct problems, you have held broken packages.)
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 490, in <module>
main()
File "/usr/bin/unattended-upgrade", line 306, in main
rewind_cache(cache, pkgs_to_ugprade)
NameError: global name 'pkgs_to_ugprade' is not defined
...
This is trivial to fix.
TEST CASE:
- regression test is enough, the fix is a one line change
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/571734/+subscriptions
More information about the foundations-bugs
mailing list