update-manager crashes on load with 'AttributeError' for MyCache object

Bug #257781 reported by Coldtalon
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Michael Vogt

Bug Description

Binary package hint: update-manager

Description: Ubuntu 8.04.1
Release: 8.04

Action: Ran update-manager from terminal window.

Expected Result: Update manager window to populate with available updates

Actual Result:
Update manager displays a window 'reading state information' with a progress bar. When the progress bar reaches 100% update-manager crashes.

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 109, in <module>
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 1076, in main
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 876, in fillstore
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 998, in initCache
    self.cache = MyCache(progress)
  File "/usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py", line 97, in __init__
    assert len(self.reqReinstallPkgs) == 0
AttributeError: 'MyCache' object has no attribute 'reqReinstallPkgs'

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

Thaks for your bugreport.

What version of update-manager do you run? Can you please run:
$ dpkg -l update-manager > /tmp/ver
$ apt-cache policy update-manager > > /tmp/ver

and attach the output of /tmp/ver ?

Changed in update-manager:
assignee: nobody → mvo
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.93.16

update-manager (1:0.93.16) intrepid; urgency=low

  [ Michael Vogt ]
  * DistUpgrade/DistUpgradeController.py:
    - automatically add "relatime" to the mount options
      of ext2/ext3
  * UpdateManager/Core/MetaRelease.py:
    - fix typo (thanks to Daniel Garcia)
  * DistUpgrade/DistUpgradeCache.py:
    - fix the removal of obsolete kernel packages when the
      old kernel abi package gets removed from -update and/or
  * UpdateManager/UpdateManager.py:
    - be more robust against server errors when fetching the
      changelogs (LP: #262982)
  * debian/control:
    - update the version dependency for python-apt, we need
      stuff from 0.7.5 (LP: #257781)
  * DistUpgrade/DistUpgradeView.py:#
    - make FuzzyTimeToStr() properly deal with plural forms
      (LP: #267234)

  [ Brian Murray ]
  * UpdateManager/UpdateManager.py:
    - preserve epoch in package version for changelogs at
      launchpad.net (LP: #270527)

 -- Michael Vogt <email address hidden> Tue, 16 Sep 2008 14:15:18 +0200

Changed in update-manager:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers