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


Groups > linux.debian.user > #245174

Re: dpkg in Bookworm insists to rebuild initrd

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: dpkg in Bookworm insists to rebuild initrd
Date Thu, 10 Feb 2022 13:30:01 +0100
Message-ID <DPgKd-R4z-19@gated-at.bofh.it> (permalink)
References <DP961-LJs-1@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Thu Feb 10 12:20:08 2022
Old-Return-Path <greg@wooledge.org>
X-Amavis-Spam-Status No, score=-6.207 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-user@lists.debian.org> archive/latest/785976
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/YgUC5rLYcExyE1cn@wooledge.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 10 Feb 2022 07:19:50 -0500
X-Original-Message-ID <YgUC5rLYcExyE1cn@wooledge.org>
X-Original-References <5c4e0651-9c68-ee32-c32b-3d9484884b79@earthlink.net>
Xref csiph.com linux.debian.user:245174

Show key headers only | View raw


On Wed, Feb 09, 2022 at 11:09:40PM -0500, Felix Miata wrote:
> mv: cannot move '/boot/initrd.img-5.15.0-3-amd64.new' to
> '/boot/initrd.img-5.15.0-3-amd64': Operation not permitted

> What can be done to make dpkg stop trying to replace the initrd that I have made
> immutable? I don't want it replaced.

Easy answer: make a copy of your special initrd, then turn off the
immutable bit, then let dpkg do its thing and be happy, then replace
the initrd with your copy and restore the immutable bit.

Harder answer: probably edit /etc/kernel-img.conf and change the
setting of do_initrd.  But I've never tried that, so I don't know
exactly what it does.  At best, I'd imagine it might turn off *all*
initrd creations, which would affect your *other* kernels too, not
just this one.

Back to linux.debian.user | Previous | Next — Previous 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