← Back to team overview

touch-packages team mailing list archive

[Bug 1059975] Re: KeyError in weak ref package cache

 

** Changed in: python-apt (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1059975

Title:
  KeyError in weak ref package cache

Status in python-apt package in Ubuntu:
  Invalid

Bug description:
  On start update software sometimes update-manager crashes with message:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1041, in _simulate
      trans.unauthenticated = self.__simulate(trans)
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1156, in __simulate
      unauthenticated = self._get_unauthenticated()
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 347, in _get_unauthenticated
      for pkg in self._iterate_packages():
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1352, in _iterate_packages
      for enum, pkg in enumerate(self._cache):
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 197, in __iter__
      yield self[pkgname]
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 182, in __getitem__
      pkg = self._weakref[key] = Package(self, self._cache[key])
  KeyError: '9693634216138521010ce3ac1d73'

  Ubuntu 12.04 (behind proxy).  Apt 0.8.16~exp12ubuntu10.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1059975/+subscriptions