Public bug reported: Upgrading linux-firmware (1.173.20) on Ubuntu (18.04.5) will cause the initramfs files to be updated during the "setting up" phase of linux- firmware's installation. However, if there are other packages that also require initramfs to be updated, they will be updated again later during the "processing triggers" phase. The triggers mechanism of deb- installer is designed to avoid this duplication of effort and speed up the time taken to complete an upgrade. If there is no specific reason for linux-firmware to force the initramfs update during setup, I believe it makes sense to defer that action.
In the excerpt below, udev and linux-firmware are both in the list of packages to be upgraded. Udev uses the trigger mechanism and linux- firmware does not. > # apt dist-upgrade > ... > Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.8) ... > Setting up udev (237-3ubuntu10.46) ... > update-initramfs: deferring update (trigger activated) > Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.10) ... > ... > Setting up python3-ptyprocess (0.5.2-1) ... > Setting up linux-firmware (1.173.20) ... > update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic > update-initramfs: Generating /boot/initrd.img-5.4.0-65-generic > Setting up liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.15) ... > ... > Processing triggers for libc-bin (2.27-3ubuntu1.4) ... > Processing triggers for initramfs-tools (0.130ubuntu3.11) ... > update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic > # Reference: https://wiki.debian.org/DpkgTriggers ** Affects: linux-firmware (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926608 Title: upgrading does not defer initramfs updates To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1926608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs