Bug#1104577: ledgersmb: preinst fails, calls adduser without Pre-Depend-ing on it
Package: ledgersmb Version: 1.6.33+ds-2.2 Severity: serious User: reproducible-builds@lists.alioth.debian.org Usertag: toolchain 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=ledgersmb unstable /dev/null ... Selecting previously unselected package ledgersmb. Preparing to unpack .../211-ledgersmb_1.6.33+ds-2.2_all.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-Z6hj5d/211-ledgersmb_1.6.33+ds-2.2_all.deb (--unpack): new ledgersmb package pre-installation script subprocess returned error exit status 25 Errors were encountered while processing: /tmp/apt-dpkg-install-Z6hj5d/211-ledgersmb_1.6.33+ds-2.2_all.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
Your message dated Sun, 18 Jan 2026 12:59:51 +0000 with message-id <E1vhSNj-00000007kHv-2hvP@fasolo.debian.org> and subject line Bug#1122176: Removed package(s) from unstable has caused the Debian Bug report #1104577, regarding ledgersmb: preinst fails, calls adduser without Pre-Depend-ing on it to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1104577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104577 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
participants (2)
-
Chris Hofstaedtler -
Debian Bug Tracking System