gdebi crashes with : KeyError: "The cache has no package named 'opera-next'" when package is not in the archive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I downloaded a .deb package from internet. After trying to open it with GDebi to install it, GDebi window opens and loads it. When the progress bar completely fills, GDebi window closes unexpectly.
TEST CASE:
1. Download opera-next
$ wget http://
2. Run gdebi
$ gdebi-gtk opera-next/
Results:
Traceback (most recent call last):
File "/usr/bin/
app = GDebi(datadir=
File "/usr/share/
self.
File "/usr/share/
provides = self.comparePro
File "/usr/share/
pkg = self._cache[
File "/usr/lib/
raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'opera-next'"
It is also reproducible with other known good .deb files that are not part of the archive, for example crossover pro.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gdebi 0.8~exp2
ProcVersionSign
Uname: Linux 3.0-1-generic i686
NonfreeKernelMo
Architecture: i386
Date: Wed Jun 22 14:24:13 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=es_MX:en
PATH=(custom, no user)
LANG=es_MX
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: gdebi
UpgradeStatus: Upgraded to oneiric on 2011-06-17 (5 days ago)
tags: | added: testcase |
Well, this only happens with (maybe faulty) package: opera-next_ 11.50.1027_ i386.deb. But GDebi should give an error message and then quit...