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-5.15.0-125-generic
E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.0-125-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Sadly there is no error message explaining the exit code 1. Can you edit
/usr/share/initramfs-tools/hooks/btrfs 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/btrfs
sudo update-initramfs -u

Please attach the output to the bug report then.

** 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/2087791

Title:
  package linux-image-5.15.0-125-generic 5.15.0-125.135 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/2087791/+subscriptions


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

Reply via email to