Crash if installed packages are not in the APT cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-codec-install (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-codec-install
Karmic Koala Alpha 3
gnome-codec-
Wanted to install codecs.. then it threw this bug to me.
ProblemType: Crash
Architecture: amd64
Date: Sun Jul 26 11:30:15 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090722.2)
NonfreeKernelMo
Package: gnome-codec-install 0.3.3ubuntu1
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: gnome-codec-install
Title: gnome-codec-install crashed with KeyError in __getitem__()
Uname: Linux 2.6.31-3-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Buggy code is: GtkOpProgress( )) .isInstalled:
result = False
cache = apt.Cache(
for pkgname in to_add:
if not cache[pkgname]
For some reason in this case pkgname is not in the cache