update-manager failed to upgrade to 0.87.10: AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
update-manager failed to upgrade from gutsy to hardy (update-manager version 0.87.10 at the time) with the following error:
Preparing to replace update-manager 1:0.81 (using .../update-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg.
File "/usr/bin/
rt.
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
I was able to get the latest version of update-manager installed by removing update-manager via dpkg -r and letting apt-get reinstall it.