Catch a cache breakage

Bug #694505 reported by Tommy Garrison
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Fix Released
Medium
Unassigned

Bug Description

popup task asks to 'report bug" and retry: text in textbox of popup:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 821, in _simulate_helper
    self._cache = apt.cache.Cache()
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
    self.open(progress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 126, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_maverick-security_restricted_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.

Changed in aptdaemon:
status: New → Confirmed
importance: Undecided → Medium
summary: - aptdaemon crashed after entering password
+ Catch a cache breakage
Revision history for this message
joopbraak (joopbraak) wrote :

Fixed according to changelog ?

Revision history for this message
joopbraak (joopbraak) wrote :

This bug was fixed in the package aptdaemon - 0.41+bzr645-0ubuntu1

---------------
aptdaemon (0.41+bzr645-0ubuntu1) natty; urgency=low

  * New bzr bugfix snapshot:
    - fix state of queue transactions (LP: #702442)
    - unify cache open (LP: #694505)
    - relax lintian check on libc (for lsb)
    - catch overflow errors (LP: #758837)
  * debian/lintian-{fatal,nonfatal}.tag.Ubuntu:
    - rename from "tag" to "tags" so that they actually get applied
      (LP: #712377)
 -- Michael Vogt <email address hidden> Fri, 15 Apr 2011 13:57:10 +0200

Changed in aptdaemon:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.