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

Launchpad Bug Tracker 369898 at bugs.launchpad.net
Wed Feb 1 10:09:26 UTC 2012


** Branch linked: lp:debian/experimental/dpkg

-- 
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