linux-firmware does not depend on initramfs-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
linux-firmware (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In bug #1646197 the linux-firmware.
Recreate:
sudo apt-get purge --assume-yes '^linux-.*' 'linux-base+' initramfs*
sudo apt-get install --assume-yes linux-generic
Result:
Setting up linux-modules-
Setting up linux-headers-
Setting up linux-headers-
Setting up initramfs-tools-bin (0.130ubuntu3.3) ...
Setting up linux-firmware (1.173.1) ...
update-initramfs: Generating /boot/initrd.
/usr/sbin/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 2
...
Errors were encountered while processing:
linux-firmware
linux-
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Impact:
Builds of minimized images start with an image that has the linux-kvm kernel but lack initramfs-tools. Derivative builds that require a different kernel, linux-generic for example, will purge the existing kernel and install the correct kernel which could pull in linux-firmware and initramfs-tools. In that case the builds fail unless initramfs-tools is installed prior to kernel installation as a workaround for this missing package dependency.
This has been recreated on cosmic and bionic, a fix is desired on each. (I was unable to recreate on Xenial but that package lacks the dependency as well).
tags: | added: patch |
tags: | removed: patch |
Changed in initramfs-tools (Ubuntu): | |
status: | New → Invalid |
Changed in initramfs-tools (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → Medium |
script output from a recreate on bionic demonstrating the failure