Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses
Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-35squeeze1
After an apt-get upgrade today, I wasn't able to boot anymore, lvm
complains that can't find libncurses.so.5, and it's right, the only
libncurses.so.5 file in initrd.img-2.6.32-5-amd64 is in
/32bit/usr/lib/libncurses.so.5.
Note that:
$ file libncurses.so.5
libncurses.so.5: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, stripped
I solved by patching initrd.img-2.6.32-5-amd64 with a symlink to the
proper path: /lib. That's the second time it happens after an upgrade.
I don't have records of the first one.
Here's the culprit (from /var/log/apt/history.log):
Start-Date: 2011-09-09 15:43:30
Commandline: apt-get upgrade
Upgrade: linux-image-2.6.32-5-amd64:amd64 (2.6.32-35,
2.6.32-35squeeze1), firmware-linux-free:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-headers-2.6.32-5-common:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-headers-2.6.32-5-amd64:amd64 (2.6.32-35,
2.6.32-35squeeze1), linux-base:amd64 (2.6.32-35, 2.6.32-35squeeze1),
linux-libc-dev:amd64 (2.6.32-35, 2.6.32-35squeeze1)
End-Date: 2011-09-09 15:44:21
--
Andrea Cardaci
http://behance.net/AndreaCardaci
Reply to: