Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #74301

Bug#766385: Generating /boot/initrd... seen twice in a single aptitude full-upgrade

From Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#766385: Generating /boot/initrd... seen twice in a single aptitude full-upgrade
Date 2022-02-03 19:30 +0100
Message-ID <DMP1L-627-1@gated-at.bofh.it> (permalink)
References <oe8cP-PV-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


some more context probably helps:

...
Setting up linux-image-5.15.0-3-amd64 (5.15.15-2) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.15.0-3-amd64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-3-amd64
...
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-3-amd64
Found initrd image: /boot/initrd.img-5.15.0-3-amd64
...
Setting up virtualbox-dkms (6.1.32-dfsg-1+b1) ...
Loading new virtualbox-6.1.32 DKMS files...
Building for 5.15.0-3-amd64
Building initial module for 5.15.0-3-amd64
...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-3-amd64
...

so it would appear that the mistake is that the kernel postinst does an 
instantaneous initramfs update, rather than letting the trigger take 
care of it, after DKMS has built the modules of other upgraded packages.

it may also make sense to sequence the grub setup after the initrd 
setup, so it doesn't register kernels for which building the initrd 
failed.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#766385: Generating /boot/initrd... seen twice in a single aptitude full-upgrade Oswald Buddenhagen <oswald.buddenhagen@gmx.de> - 2022-02-03 19:30 +0100

csiph-web