This bug turned out to be the same as the many reports about
segfault on corrupt /var/cache/apt/*.bin

In my case, it turned out to be a corrupt /var/cache/apt/pkgcache.bin

I found this out with 'strace apt-get upgrade'
apt mmap'ed /var/cache/apt/pkgcache.bin, and crashed shortly thereafter.
Inspecting the file showed only a couple of lines of text, it looked like
pieces of a package description.

Perhaps apt shouldn't be so trusting. If such a cache file is corrupt,
just zap it. I deleted the file, and could again upgrade my debian.'

Helge Hafting




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to