/usr/bin/update-manager:ValueError:foreach_cb:<listcomp>:packages_are_selected:is_selected:marked_install

Bug #1768780 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Triaged
High
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:18.04.11, the problem page at https://errors.ubuntu.com/problem/d9c36d9ae61a1fcae2f3f442e0b43890c93a262f contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Revision history for this message
Brian Murray (brian-murray) wrote :

Here is the Traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 702, in foreach_cb
    active = any([g.packages_are_selected() for g in data.groups])
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 702, in <listcomp>
    active = any([g.packages_are_selected() for g in data.groups])
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 137, in packages_are_selected
    if item.is_selected():
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 54, in is_selected
    return self.pkg.marked_install or self.pkg.marked_upgrade
  File "/usr/lib/python3/dist-packages/apt/package.py", line 1140, in marked_install
    return self._pcache._depcache.marked_install(self._pkg)
ValueError: Object of different cache passed as argument to apt_pkg.DepCache method

This is another 'different cache' crash.

tags: added: rls-bb-incoming
Changed in update-manager (Ubuntu):
status: New → Triaged
importance: Undecided → High
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.