Package: sia
Version: 1.3.0-4+b3
Severity: serious

Your package has a preinst maintainer script, calling adduser. At the same
time, your package Depends: adduser, but does not Pre-Depends: adduser.
Installing your package fails when adduser is not yet configured.

Reproducer:

$ mmdebstrap --variant=essential --include=sia unstable /dev/null
Selecting previously unselected package sia.
Preparing to unpack .../7-sia_1.3.0-4+b3_arm64.deb ...
warn: `/etc/adduser.conf' does not exist. Using defaults.
Insecure $ENV{PATH} while running with -T switch at 
/usr/share/perl5/Debian/AdduserLogging.pm line 161.
dpkg: error processing archive 
/tmp/apt-dpkg-install-uI5TXy/7-sia_1.3.0-4+b3_arm64.deb (--unpack):
 new sia package pre-installation script subprocess returned error exit status 
25
Errors were encountered while processing:
 /tmp/apt-dpkg-install-uI5TXy/7-sia_1.3.0-4+b3_arm64.deb
E: Sub-process env returned an error code (1)


You may consider replacing adduser with a sysusers fragment, see
https://manpages.debian.org/unstable/debhelper/dh_installsysusers.1.en.html

Otherwise, please Pre-Depend on adduser.

Best,
Chris

Reply via email to