Re: non-essential adduser poses problems to purging packages
- To: Julian Andres Klode <jak@debian.org>
- Cc: debian-release@lists.debian.org, Andreas Beckmann <anbe@debian.org>, adduser@packages.debian.org, deity@lists.debian.org, josch@debian.org
- Subject: Re: non-essential adduser poses problems to purging packages
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sun, 7 May 2023 20:30:03 +0200
- Message-id: <[🔎] 20230507183003.GA892199@subdivi.de>
- Mail-followup-to: Helmut Grohne <helmut@subdivi.de>, Julian Andres Klode <jak@debian.org>, debian-release@lists.debian.org, Andreas Beckmann <anbe@debian.org>, adduser@packages.debian.org, deity@lists.debian.org, josch@debian.org
- In-reply-to: <[🔎] CAEA6rAzqz6XV8EP3r6oxaegp_ONgzNe9jW0-R5Myz0ZSwzH4vg@mail.gmail.com>
- References: <[🔎] 20230504091750.GA2242429@subdivi.de> <[🔎] ZFdmJBZSNg9HMI0I@ramacher.at> <[🔎] CAEA6rAzqz6XV8EP3r6oxaegp_ONgzNe9jW0-R5Myz0ZSwzH4vg@mail.gmail.com>
On Sun, May 07, 2023 at 08:16:14PM +0200, Julian Andres Klode wrote:
> I don't have a problem pushing a 2.6.1 out with this in the coming days. Is
> this the best solution though - maybe setting Essential on adduser might be
> easier and formally fix the issue for now.
I was also thinking that maybe it really should be essential for now.
> We generally do not expect stuff to depend on apt. This seems to be a gap
> in piuparts, that it has apt installed while testing packages.
Even if we made apt depend on adduser again, packages would still fail
purging if you removed apt and adduser beforehand. Julian also pointed
out another advantage on IRC: By using the Essential flag, we can
forcefully remove adduser while keeping apt. This option is unavailable
given a dependency.
By making it essential, we recognize the status quo and document it. We
can the proceed with retrying adduser removal in a more structured way.
I'm sorry for having messed up this transition. I failed to see it
coming.
Helmut
Reply to: