[Bug 1884148] Re: /usr/share/apport/package_hook:ValueError:__getitem__:_apt_pkg:__getitem__:/usr/share/apport/package_hook at 48:get_source:_apt_pkg

Brian Murray 1884148 at bugs.launchpad.net
Thu Jun 18 21:24:43 UTC 2020


Here's the traceback too:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 297, in __getitem__
    rawpkg = self._cache[key]
KeyError: '23-gimp-data'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 156, in _apt_pkg
    return self._cache()[package]
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named '23-gimp-data'"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/apport/package_hook", line 48, in <module>
    pr['SourcePackage'] = apport.packaging.get_source(options.package)
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 189, in get_source
    if self._apt_pkg(package).installed:
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 158, in _apt_pkg
    raise ValueError('package %s does not exist' % package)
ValueError: package 23-gimp-data does not exist

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1884148

Title:
  /usr/share/apport/package_hook:ValueError:__getitem__:_apt_pkg:__getitem__:/usr/share/apport/package_hook at 48:get_source:_apt_pkg

Status in apport package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu40, the problem page at https://errors.ubuntu.com/problem/976abccbca7b548c9ccf155c80c8eb6f36efa7de contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1884148/+subscriptions



More information about the foundations-bugs mailing list