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
Touch seeded packages, which is subscribed to initramfs-tools in 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
Status in initramfs-tools package in Ubuntu:
Incomplete
Bug description:
I have an encrypted filesystem. The system will no longer boot after
this and no longer be able to access the encrypted file system. It
will bricked at the next reboot.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-image-5.8.0-34-generic 5.8.0-34.37~20.04.2
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Jan 7 10:48:04 2021
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with
return code 1
InstallationDate: Installed on 2020-12-23 (14 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal,
3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.2
SourcePackage: initramfs-tools
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
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1910525/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp