Bug#940965: apt: Fails to find a solution for libgtk-3-0 and sysvinit-core

Michael Biebl biebl at debian.org
Tue Feb 18 13:23:13 GMT 2025


On Mon, 17 Feb 2025 11:48:06 +0000 Mark Hindley <mark at hindley.org.uk> wrote:
> Julian,
> 
> Many thanks for this.
> 
> On Sun, Feb 16, 2025 at 12:23:01PM +0100, Julian Andres Klode wrote:
> > That being said, being able to switch init systems without a pin is
> > a bug in the init system; init systems should set the Protected: yes
> > field so that they cannot be removed without explicitly running
> > 
> >     apt remove --allow-remove-essential sysvinit-core
> >     apt install/upgrade/... --allow-remove-essential sysvinit-core-
> > 
> >     (note that starting with 2.3.12/stable; --allow-remove-essential
> >      only applies to arguments; the solver itself cannot decide to
> >      remove essential packages anymore)
> > 
> > As such I am reassigning this bug to sysvinit-core so it can gain
> > the appropriate flag.
> 
> I don't see a problem with adding this. However, I have read deb-control(5) and
> the documentation relating to it and when it is required is quite sparse. I
> think this ought to be documented more clearly, perhaps in Policy?
> 
> A quick search indicates that the packages currently utilising this flag is a
> somewhat disparate list[1]: login, reform-tools, various flavours of gcc,
> init-system-helpers, grub-*-signed...
> 
> Mark
> 
> [1]  https://codesearch.debian.net/search?q=Protected%3A+yes+path%3Adebian%2Fcontrol&literal=0
> 
> 
I guess a corresponding "Protected: yes" flag should be added to 
systemd-sysv accordingly (so looping in the systemd maintainers).

This kinda makes the "init" meta package moot (which I think is actually 
a good thing at this point). And the "init" meta can be removed.

Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250218/c7d3de1b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list