On Wed 09 Feb 2022 at 23:09:40 (-0500), Felix Miata wrote: > # inxi -S > System: > Host: ab560 Kernel: 5.15.0-3-amd64 x86_64 bits: 64 Desktop: Trinity > Distro: Debian GNU/Linux bookworm/sid > # dpkg --configure linux-image-5.15.0-3-amd64 > Setting up linux-image-5.15.0-3-amd64 (5.15.15-2) ... > /etc/kernel/postinst.d/initramfs-tools: > update-initramfs: Generating /boot/initrd.img-5.15.0-3-amd64 > mv: cannot move '/boot/initrd.img-5.15.0-3-amd64.new' to > '/boot/initrd.img-5.15.0-3-amd64': Operation not permitted > run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 > dpkg: error processing package linux-image-5.15.0-3-amd64 (--configure): > installed linux-image-5.15.0-3-amd64 package post-installation script > subprocess > returned error exit status 1 > Errors were encountered while processing: > linux-image-5.15.0-3-amd64 > # > > What can be done to make dpkg stop trying to replace the initrd that I have > made > immutable? I don't want it replaced. Nothing (now) in 5.15 will solve the > problem > that needs the solution reported here: > https://gitlab.freedesktop.org/drm/intel/-/issues/4762
Would: # INITRD='No' dpkg --configure linux-image-5.15.0-3-amd64 manage to propagate INITRD through to the third¹ test in /etc/kernel/postinst.d/initramfs-tools? ¹ I'm reading buster; adjust as necessary. Cheers, David.