That looks like an issue in the dhcpcd hook.
update-initramfs: Generating /boot/initrd.img-6.8.0-137-generic
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-137-generic with 1.
There isn't much in the dhcpd hook script, so I'm going take a wild
guess and say the second to last line uses the wrong approach the wrong:
multiarch_dir=$(ldd /usr/sbin/dhcpcd | sed -En
's;^.*/lib(/lib[^/]*prof)?/([^/]+)/libc\.so\..*$;\2;p')
And I'm guessing there are 3rd party libs installed (specifically
/usr/local/lib/libc.so.6).
If so, be aware that 3rd party libs are not supported by Ubuntu.
Anup, could you confirm whether or not such a lib is present on your
system?
** Changed in: initramfs-tools (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163457
Title:
package initramfs-tools 0.142ubuntu25.8 failed to install/upgrade: old
initramfs-tools package postinst maintainer script subprocess failed
with exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2163457/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs