unattended-upgrade crashed with AttributeError in main()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
TEST CASE:
1. install lucid
2. run sudo apt-get update
3. run sudo ifconfig eth0 down (or wlan0 down if on wlan)
4. run sudo unattended-upgrades
5. verify that it fails and errors with "AttributeError: 'apt_pkg.
"
6. install unattended-upgrades from lucid-proposed (reenable network first ;)
7. repreat step 4 and verify that it gives a proper error message now
Binary package hint: unattended-upgrades
I didn't do anything myself really. It automatically went off to fetch updates, I guess.
ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: unattended-upgrades 0.55ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Tue Jun 8 10:53:10 2010
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
PATH=(custom, no user)
SHELL=/bin/sh
PythonArgs: ['/usr/
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with AttributeError in main()
UserGroups:
i get the same error:
# unattended-upgrade unattended- upgrade" , line 490, in <module> unattended- upgrade" , line 337, in main AcquireItem' object has no attribute 'DescURI'
Ein Fehler ist aufgetreten: »404 Not Found«
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
print _("The URI '%s' failed to download, aborting") % item.DescURI
AttributeError: 'apt_pkg.