[Bug 369898] Re: dpkg hangs with no information on corrpted /var/lib/dpkg/info/*.list file

Raphaël Hertzog hertzog at debian.org
Tue Jan 3 10:30:33 UTC 2012


The fix has been committed upstream in commit
c07f7fea4206bc002578b2032871c9f63457bde8.

** Changed in: dpkg (Ubuntu)
       Status: In Progress => Fix Committed

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

Title:
  dpkg hangs with no information on corrpted /var/lib/dpkg/info/*.list
  file

Status in “dpkg” package in Ubuntu:
  Fix Committed

Bug description:
  Binary package hint: dpkg

  I'm struggling with a filesystem that was corrupted by a kernel
  problem (reported seperately).  Some files did not survive an fsck
  correctly:

    $ sudo ls -ld /var/lib/dpkg/info/libical0.*
    p----w---- 1 proxy 4122     0 1970-01-10 16:48 /var/lib/dpkg/info/libical0.list

  I don't expect dpkg to be able to do anything with this, but I would
  like to get some debugging information when trying to track this down.
  As it was, it was hanging on "(Reading database ..." with no other
  information available, no matter what level I set the debugging to.

  It would be nice if dpkg could verify that a file was un-readable or
  not actually a file, etc before reading it.

  Alternatively, a debugging level could be added so that every file
  under /var/lib/dpkg/info is printed as it is accessed.  In this way,
  it would be easier to track down the problem since output would stall
  out on the bad file.

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




More information about the foundations-bugs mailing list