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


Groups > linux.debian.kernel > #74301 > unrolled thread

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

Started byOswald Buddenhagen <oswald.buddenhagen@gmx.de>
First post2022-02-03 19:30 +0100
Last post2022-02-03 19:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date2022-02-03 19:30 +0100
SubjectBug#766385: Generating /boot/initrd... seen twice in a single aptitude full-upgrade
Message-ID<DMP1L-627-1@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web