PDA

View Full Version : [ubuntu] Update manager broken



raido357
November 28th, 2009, 11:35 PM
SOLVED:

I had one PPA key missing and that broke update-manager. Although it could be nicer if update manager would work even without GPG key or could atleast display some sort of user friendly error message.


When i try to run Update manager i get this error:

update-manager
Traceback (most recent call last):
File "/usr/bin/update-manager", line 108, in <module>
app.main(options)
File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 940, in main
self.fillstore()
File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 789, in fillstore
self.update_count()
File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 510, in update_count
if self._get_last_apt_get_update_text() is not None:
File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 474, in _get_last_apt_get_update_text
ago_days) % ago_days
TypeError: not all arguments converted during string formatting

Using 9.10, update from alpha 5 -> alpha 6 -> rc -> beta -> stable

some-what-Gnu-2-networks
November 29th, 2009, 03:04 AM
Can you "sudo apt-get install update" in the terminal? that's all I got to offer. If that works the problem is w/ the GUI, otherwise....umm...?...

whoop
November 29th, 2009, 03:09 AM
Can you "sudo apt-get install update" in the terminal? that's all I got to offer. If that works the problem is w/ the GUI, otherwise....umm...?...

You just meant sudo apt-get update, didn't you?
or maybe sudo apt-get update && sudo apt-get dist-upgrade...

some-what-Gnu-2-networks
November 29th, 2009, 03:22 AM
You just meant sudo apt-get update, didn't you?
or maybe sudo apt-get update && sudo apt-get dist-upgrade...

Yep, Thanks and sorry for the error.

whoop
November 29th, 2009, 03:24 AM
Yep, Thanks and sorry for the error.

no worries...

raido357
November 29th, 2009, 08:11 AM
Executing apt-get update in console is working all the time, problem is with Update manager when some GPG keys are missing (as written in first post).