Hi Gennaro,

* Chris Hofstaedtler <[email protected]> [2025-05-02 11:00]:
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=slurm-wlm-basic-plugins unstable 
/dev/null
...
Selecting previously unselected package slurm-wlm-basic-plugins.
Preparing to unpack .../32-slurm-wlm-basic-plugins_24.11.3-2_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-hBVk66/32-slurm-wlm-basic-plugins_24.11.3-2_arm64.deb 
(--unpack):
new slurm-wlm-basic-plugins package pre-installation script subprocess returned 
error exit status 25
Errors were encountered while processing:
/tmp/apt-dpkg-install-hBVk66/32-slurm-wlm-basic-plugins_24.11.3-2_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.

Any reason why you did not cover this bug in your recent upload? I assume that adding the Pre-Depend will not have any side effects.

If you don't have time to work on it I do a NMU in the coming days.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to