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.4.0-58-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
E: /usr/share/initramfs-tools/hooks/cryptkeyctl failed with return 1.

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

Title:
  package linux-image-5.8.0-34-generic 5.8.0-34.37~20.04.2 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/1910525/+subscriptions


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

Reply via email to