Package: sbuild
Version: 0.81.2+deb11u1
X-Debbugs-Cc: [email protected]
Dear maintainer:
During a rebuild of all packages in bookworm I noticed that setting
SUDO_FORCE_REMOVE=yes in the environment does not seem to have any
effect anymore.
This happens, for example, when building "neutron":
[...]
Removing sudo (1.9.11p3-2) ...
You have asked that the sudo package be removed,
but no root password has been set.
Without sudo, you may not be able to gain administrative privileges.
If you would prefer to access the root account with su(1)
or by logging in directly,
you must set a root password with "sudo passwd".
If you have arranged other means to access the root account,
and you are sure this is what you want,
you may bypass this check by setting an environment variable
(export SUDO_FORCE_REMOVE=yes).
I have this in my .sbuildrc:
$ENV{'SUDO_FORCE_REMOVE'} = 'yes';
If I remember well, this used to work in the past.
Is this a regression?
Is there a way to fix this without using sbuild from bookworm? (not
tested yet)
Thanks.