• Bug#1104573: slurm-wlm-basic-plugins: preinst fails, calls adduser with

    From Chris Hofstaedtler@21:1/5 to All on Fri May 2 11:10:02 2025
    Package: slurm-wlm-basic-plugins
    Version: 24.11.3-2
    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=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.

    Best,
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)