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


Groups > linux.debian.user > #245167

Re: dpkg in Bookworm insists to rebuild initrd

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: dpkg in Bookworm insists to rebuild initrd
Date 2022-02-10 06:40 +0100
Message-ID <DPalr-MHY-1@gated-at.bofh.it> (permalink)
References <DP961-LJs-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

dpkg in Bookworm insists to rebuild initrd Felix Miata <mrmazda@earthlink.net> - 2022-02-10 05:20 +0100
  Re: dpkg in Bookworm insists to rebuild initrd David Wright <deblis@lionunicorn.co.uk> - 2022-02-10 06:40 +0100
    Re: dpkg in Bookworm insists to rebuild initrd Felix Miata <mrmazda@earthlink.net> - 2022-02-10 08:50 +0100
      Re: dpkg in Bookworm insists to rebuild initrd David Wright <deblis@lionunicorn.co.uk> - 2022-02-10 16:30 +0100
  Re: dpkg in Bookworm insists to rebuild initrd Greg Wooledge <greg@wooledge.org> - 2022-02-10 13:30 +0100

csiph-web