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.
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):
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CACMsj9OTFSHsDHPF7Xdj=kWRvHN0q0brh2aJ4yLw7=k-Ru7f9A@mail.gmail.com">http://lists.debian.org/CACMsj9OTFSHsDHPF7Xdj=kWRvHN0q0brh2aJ4yLw7=k-Ru7f9A@mail.gmail.com
10-10-2011, 07:09 PM
Julien Cristau
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
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111010190937.GG12618@radis.liafa.jussieu.fr">htt p://lists.debian.org/20111010190937.GG12618@radis.liafa.jussieu.fr
10-10-2011, 07:39 PM
Andrea Cardaci
Bug#641047: initrd.img-2.6.32-5-amd64 issue with lvm and libncurses
Thanks for the reply.
`apt-cache show initramfs-tools` says version 0.98.8
I tried to run `update-initramfs -v -t -u -k 2.6.32-5-amd64` and I noticed:
where `/32bit/` is a chroot I've created some time ago, well I assume
that's the culprit but can't figure out of how it can mess
`initrd.img`. It's worth to mention that I've added a file to
`/etc/ld.so.conf.d/` with:
2011/10/10 Julien Cristau <jcristau@debian.org>:
> 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
>
--
Andrea Cardaci
http://behance.net/AndreaCardaci
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CACMsj9N-Aeky-n03xVgJyBQ-DpJh1jaKXtoUHhvDE346077myg@mail.gmail.com">http://lists.debian.org/CACMsj9N-Aeky-n03xVgJyBQ-DpJh1jaKXtoUHhvDE346077myg@mail.gmail.com