On 18/05/2023 21.05, Johannes Schauer Marin Rodrigues wrote:
Hi,

Quoting Nicolas Dandrimont (2023-05-18 20:51:04)
On Thu, May 18, 2023, at 10:03, Marc Haber wrote:
adduser probably needs an additional hint because the new upload makes
piuparts fail now, as discussed yesterday.
To work around this issue on the piuparts side, it sounds like we should make
piuparts treat adduser as fake-essential for tests ending at bookworm or sid,
so that we don't try to uninstall it; Andreas, what do you think?

a more general solution would be to skip uninstallation on all packages marked
with Protected:yes or to only uninstall with --allow-remove-essential. Such a
solution would not only benefit adduser but also any future packages marked
with Protected:yes.

We have some scripts that enable --allow-remove-essential before removal on some upgrade paths if certain packages are installed, iirc we needed this for some *init* stuff in the past.

I'd prefer this way over making adduser globally fake-essential (as that would introduce adduser into all upgrade paths. (Making it fake-essential for only a few packages would probably no longer work with Protected:yes).

Skipping removal of Protected:yes packages is no option, as it does not restore the state of the refernece chroot.


I'll think about it.


Andreas

Reply via email to