dropbear-initramfs package fails to install on Ubuntu 24.04 beta server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dropbear (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
dropbear-initramfs seems to fail on not figuring out what the root device is. This applies both to autoinstall and manual install and is observed on today's beta (ubuntu-
ubuntu@
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dropbear-initramfs is already the newest version (2022.83-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up initramfs-tools (0.142ubuntu24) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142ubuntu24) ...
update-initramfs: Generating /boot/initrd.
dropbear: WARNING: Couldn't find ~root, SSH login to initramfs won't work!
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
The above was observed on a QEMU KVM VM using server installer defaults as well as with specific curtin storage definitions.
I also reproduced the same on a QEMU KVM VM using desktop installer and clicking next on all questions (except user).