[Bug 927274] Re: update-manager crashed with KeyError in __getitem__(): "The cache has no package named 'linux-headers-3.2.0-12'"
Brian Murray
brian at ubuntu.com
Fri Feb 24 17:54:06 UTC 2012
I ran into this issue with a different package by performing the
following steps:
1) Launch update-manager
2) Check for updates (There must be updates available)
3) Click on settings
4) Switch to the "Ubuntu Software" tab
5) Choose a different server in "Download from: "
6) Click "Choose server"
7) Authenticate
8) Click "Close"
9) update-manager will now crash as it tries to look up one of the packages that used to be in the cache.
Additionally, the crash won't be reportable because apport thinks it is
not an official package as apt-cache policy shows the following:
9:47:51 - flash:[...ch/bug-attachments/plymouth] apt-cache policy update-manager
update-manager:
Installed: 1:0.156.5
Candidate: 1:0.156.5
Version table:
*** 1:0.156.5 0
100 /var/lib/dpkg/status
** Visibility changed to: Public
--
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/927274
Title:
update-manager crashed with KeyError in __getitem__(): "The cache has
no package named 'linux-headers-3.2.0-12'"
Status in “update-manager” package in Ubuntu:
Confirmed
Bug description:
run the command sudo apt-get update and Update Manager is working
again
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.2
ProcVersionSignature: Ubuntu 3.2.0-11.19-generic 3.2.1
Uname: Linux 3.2.0-11-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sun Feb 5 16:56:13 2012
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
com.ubuntu.update-manager first-run false
com.ubuntu.update-manager launch-time 1328467355
com.ubuntu.update-manager window-height 747
com.ubuntu.update-manager window-width 611
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111212)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/update-manager
ProcEnviron:
LANGUAGE=pt_BR:pt:en
PATH=(custom, no user)
LANG=pt_BR.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Title: update-manager crashed with KeyError in __getitem__(): "The cache has no package named 'linux-headers-3.2.0-12'"
UpgradeStatus: Upgraded to precise on 2012-01-28 (8 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/927274/+subscriptions
More information about the foundations-bugs
mailing list