The APT history shows that amdgpu-dkms depends directly on initramfs- tools, causing dracut to be removed. Since cryptsetup was already installed and its recommendation was satisfied by dracut, cryptsetup- initramfs was not installed during the switch.
The attached proposal adds a recommendation for cryptsetup-initramfs to initramfs-tools. With a simulated dpkg status containing dracut and cryptsetup but not cryptsetup-initramfs, apt-get -s selected initramfs- tools and cryptsetup-initramfs and removed dracut. The cryptsetup- initramfs postinst calls update-initramfs -u. No packages were changed by the simulation. Trade-offs: this also installs cryptsetup support on unencrypted systems when recommendations are enabled. It does not protect systems using --no-install-recommends or other ways of bypassing recommendations. A full package build and an encrypted-root boot test of this proposed package remain to be done. Please review whether this dependency is appropriate or whether a more targeted solution is preferable. ** Patch added: "Recommend cryptsetup-initramfs when installing initramfs-tools" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2175539/+attachment/6020548/+files/ubuntu-initramfs-cryptsetup-recommends.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2175539 Title: LUKS root cannot boot after switching from dracut to initramfs-tools without cryptsetup-initramfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2175539/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
