update-viewer crashes: ValueError: list.remove(x): x not in list

Bug #374011 reported by Olof Staffans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have 3 different kubuntu 904 partitions. Today when I run the update manager two partitions out of 3 were updated OK (one reported a blocked update), but when I run it on the third partition I got the following error message:

A problem that we were not expecting has occurred.
Please report this bug with the error description.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/packagekit/daemonBackend.py", line 109, in run
    threading.Thread.run(self)
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/packagekit/aptDBUSBackend.py", line 719, in doGetUpdates
    updates.remove(pkg.name)
ValueError: list.remove(x): x not in list

Related branches

affects: ubuntu → packagekit (Ubuntu)
James Westby (james-w)
summary: - The update manager in Kubuntu 9.04 krashes
+ update-viewer crashes: ValueError: list.remove(x): x not in list
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

I rewrote the update calculation recently. Should be fixed in Karmic soon.

Changed in packagekit (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit - 0.4.9+20090825-0ubuntu1

---------------
packagekit (0.4.9+20090825-0ubuntu1) karmic; urgency=low

  * New upstream snapshot provding a lot of APT backend improvements:
    - Allow to install updates which require the installation of additional
      packages. Updates depending on the removal of a package are still
      blocked (LP: #342671, LP: #374011, LP: #374011)
    - Warn about the installation of untrusted package (LP: #256245)
    - Don't crash in APT post update hook if system D-Bus daemon isn't
      running (LP: #388623)
    - Don't try to estimate a download progress during cache updating, since
      APT reports only a forth- and backwards running progress. (LP: #348053)
    - Support for python-apt 0.7.12 (LP: #415993)
    - Translated package descriptions
  * debian/patches:
    - Remove ignore_packages_in_conffile (Merged upstream)
    - Remove fix_typo (Merged upstream)
    - Add fix_unicode: Handle the encoding messages via stdin/stdout correctly
      (LP: #396513)
    - Add fix_unicode_debfile: Convert the path of the local file which
      should be installed to the correct encoding (LP: #347327)
  * debian/libpackagekit-qt-dev.install: Fix install location of CMake module.
    Thanks to Sveinung Kvilhaugsvik (LP: #345706)
  * debian/control: Fix spelling of Qt. Thanks to Sveinung Kvilhaugsvik
    (LP: #378419)

 -- Sebastian Heinlein <email address hidden> Tue, 25 Aug 2009 13:03:26 +0200

Changed in packagekit (Ubuntu):
status: Fix Committed → Fix Released
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.