Bug#394288: This bug is the same as 'segfault on corrupt /var/cache/apt/*.bin', a bad mmap.
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
Reply to: