update-manager crashes upon start

Bug #334537 reported by pe3k
4
Affects Status Importance Assigned to Milestone
language-pack-sv (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I'm running Intrepid, using Slovak language version. Sometimes update-manager crashes this way:

~$ sudo update-manager
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 92, in <module>
    app.main(options)
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 1083, in main
    self.fillstore()
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 926, in fillstore
    self.update_count()
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 663, in update_count
    if self._get_last_apt_get_update_text() is not None:
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 642, in _get_last_apt_get_update_text
    ago_hours) % ago_hours
TypeError: not all arguments converted during string formatting

Revision history for this message
Michael Vogt (mvo) wrote :

This looks like the Solvak language has removed a format string (%s) from one of the:
          return ngettext("The package information was last updated %s day ago.",
                          "The package information was last updated %s days ago.",
                          ago_days) % ago_days
      elif ago_hours > 0:
          return ngettext("The package information was last updated %s hour ago.",
                          "The package information was last updated %s hours ago.",
                          ago_hours) % ago_hours
strings. I reassign.

Revision history for this message
Robert Roth (evfool) wrote :

Thank you for reporting this bug to Ubuntu. Intrepid reached EOL on April 30, 2010.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

I've tried recreating this bug with Oneiric and was unable to, given the information you've provided. Please either a) upgrade and test or b) increase the verbosity of the steps to recreate it so we can try again.

Please feel free to report any other bugs you may find.

Changed in language-pack-sv (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for language-pack-sv (Ubuntu) because there has been no activity for 60 days.]

Changed in language-pack-sv (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.