Buggy code is: cache = apt.Cache(GtkOpProgress()) for pkgname in to_add: if not cache[pkgname].isInstalled: result = False
For some reason in this case pkgname is not in the cache ** Summary changed: - gnome-codec-install crashed with KeyError in __getitem__() + Crash if installed packages are not in the APT cache ** Changed in: gnome-codec-install (Ubuntu) Importance: Undecided => Low ** Changed in: gnome-codec-install (Ubuntu) Status: New => Confirmed ** Changed in: gnome-codec-install (Ubuntu) Status: Confirmed => Triaged -- Crash if installed packages are not in the APT cache https://bugs.launchpad.net/bugs/404817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs