[Bug 369898] Re: dpkg hangs with no information on corrpted /var/lib/dpkg/info/*.list file
Raphaël Hertzog
hertzog at debian.org
Sat Nov 26 09:46:54 UTC 2011
I have prepared a small fix for this and queued it for later merge in
upstream dpkg.
** Changed in: dpkg (Ubuntu)
Importance: Undecided => Low
** Changed in: dpkg (Ubuntu)
Status: New => In Progress
--
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:
In Progress
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