Path: csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Simon McVittie Newsgroups: linux.debian.devel,linux.debian.kernel Subject: Re: Adding Pre-Depends from linux-image packages to linux-base Date: Sun, 04 May 2025 19:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-devel-request@lists.debian.org Sun May 4 17:14:20 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-109.992 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.483, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=unavailable autolearn_force=no MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-User: smcv X-Mailing-List: archive/latest/365657 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/aBegWh5-igQzpMq3@remnant.pseudorandom.co.uk Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 4 May 2025 18:14:02 +0100 X-Original-Message-ID: X-Original-References: <4f17a8d1cf7968e22207d50d8bb231232b543621.camel@decadent.org.uk> Xref: csiph.com linux.debian.devel:117054 linux.debian.kernel:87353 On Sun, 04 May 2025 at 15:58:55 +0000, Bill Allombert wrote: >Le Sat, May 03, 2025 at 04:08:55PM +0200, Ben Hutchings a écrit : >> I'm proposing to add a linux-run-hooks command to the linux-base package >> [1] that will then be used in all maintainer scripts of linux-image >> packages [2]. This requires upgrading the current Depends on linux-base >> to Pre-Depends. > >Will that not require a versionned Pre-Depends ? I would assume so. >In that case this is very likely to break upgrade paths. How so? linux-base has virtually no dependencies - only debconf, which is high-Priority and in practice transitively Essential (via util-linux and libpam-modules). Even if linux-base required trixie's debconf, there would be a valid upgrade order: (debconf's deps) -> debconf -> linux-base -> linux-image-whatever (But in practice bookworm's debconf is declared as being adequate for trixie's linux-base, and debconf itself has no non-Essential dependencies either.) smcv