Thank you for taking the time to report this bug and helping to make
Ubuntu better. The relevant dpkg terminal log says:

update-initramfs: Generating /boot/initrd.img-6.8.0-138-generic
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.

Sadly there is no error message explaining the exit code 1. Can you edit
/usr/share/initramfs-tools/hooks/dhcpcd and add "set -x" (without the
quotes) to the script and then run update-initramfs to get more log
output?

sudo nano /usr/share/initramfs-tools/hooks/dhcpcd
sudo update-initramfs -u

Please attach the output to the bug report then.

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166450

Title:
  package linux-image-7.0.0-31-generic 7.0.0-31.31 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
  exited with return code 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2166450/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to