initramfs-tools 0.142ubuntu12 fails on upgrade: wrong multiarch libdir Edit
Bug #2037156 reported by
Thomas Schiex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I just upgraded my system from Lunar to Mantic. initramfs is systematically producing messages such as:
E: /usr/share/
Looking into the corresponding bash script shows that the penultimate line produces an incorrect result:
multiarch_
stores "lib" instead of x86_64-linux-gnu in my case.
the correct line (tested) should be:
multiarch_
since ldd produces
libc.so.6 => /usr/lib/
Changed in initramfs-tools (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. I'll change that code so support both /lib and /usr/lib:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | sed -En 's;^.*/ lib/([^ /]+)/libc\ .so\..* $;\1;p' )