Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses
On Fri, Sep 9, 2011 at 20:34:19 +0200, Andrea Cardaci wrote:
> 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.
>
What version of initramfs-tools? You'll need to trace the execution of
update-initramfs and figure out why it picks up that version of ncurses.
Cheers,
Julien
Reply to: