[Bug 2010913] Re: update-manager crashed with apt_pkg.CacheMismatchError in marked_install(): Object of different cache passed as argument to apt_pkg.DepCache method
Graham B
2010913 at bugs.launchpad.net
Mon Jan 5 13:51:49 UTC 2026
I get the same basic problem too, but with a slight variation.
I'm running XUbuntu 22.04 with latest updates (or at least latest
updates before update itself died!).
ProblemType: Crash
CurrentDesktop: XFCE
Date: Mon Jan 5 10:58:02 2026
ExecutablePath: /usr/bin/update-manager
ExecutableTimestamp: 1649663805
InterpreterPath: /usr/bin/python3.10
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager
ProcCwd: /home/user
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
XDG_RUNTIME_DIR=
LANG=en_GB.UTF-8
SHELL=/bin/bash
Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 416, in restart_icon_renderer_data_func
if group_item.pkg and self.pkg_requires_restart(
File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 391, in pkg_requires_restart
if pkg is None or pkg.candidate is None:
File "/usr/lib/python3/dist-packages/apt/package.py", line 1076, in candidate
cand = self._pcache._depcache.get_candidate_ver(self._pkg)
apt_pkg.CacheMismatchError: Object of different cache passed as argument to apt_pkg.DepCache method
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2010913
Title:
update-manager crashed with apt_pkg.CacheMismatchError in
marked_install(): Object of different cache passed as argument to
apt_pkg.DepCache method
Status in update-manager package in Ubuntu:
Confirmed
Bug description:
update-manager have crashed after an update.
ProblemType: Crash
DistroRelease: Ubuntu 23.04
Package: update-manager 1:23.04.1
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 10 20:02:56 2023
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'launch-count' b'37'
b'com.ubuntu.update-manager' b'launch-time' b'int64 1678474250'
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-width' b'642'
InstallationDate: Installed on 2023-02-25 (13 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230216)
InterpreterPath: /usr/bin/python3.11
JournalErrors: -- No entries --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
ProcEnviron:
LANG=fr_FR.UTF-8
PATH=(custom, user)
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
Python3Details: /usr/bin/python3.11, Python 3.11.1, python3-minimal, 3.11.1-3
PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
PythonDetails: N/A
SourcePackage: update-manager
Title: update-manager crashed with apt_pkg.CacheMismatchError in marked_install(): Object of different cache passed as argument to apt_pkg.DepCache method
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2010913/+subscriptions
More information about the foundations-bugs
mailing list