Package: usbauth-notifier Version: 1.0.4-1 Severity: serious Tags: bookworm sid
https://piuparts.debian.org/sid/fail/usbauth-notifier_1.0.4-2.log ... Preparing to unpack .../17-usbauth-notifier_1.0.4-2_amd64.deb ... /var/lib/dpkg/tmp.ci/preinst: 9: addgroup: not found /var/lib/dpkg/tmp.ci/preinst: 13: addgroup: not found Unpacking usbauth-notifier (1.0.4-2) ... ... Setting up usbauth-notifier (1.0.4-2) ... chown: invalid group: 'root:usbauth' dpkg: error processing package usbauth-notifier (--configure): installed usbauth-notifier package post-installation script subprocess returned error exit status 1 Processing triggers for libc-bin (2.36-8) ... Errors were encountered while processing: usbauth-notifier E: Sub-process /usr/bin/dpkg returned an error code (1) Some remarks regarding this package: 1. Why is there a Pre-Depends: debconf and debconf handling in maintainer scripts even though it does not seem to actually use debconf? After a quick look it looks to me as if all this can be removed. 2. Why is the addgroup in the preinst and not in the postinst? Moving it to the postinst would require only a normal Depends (not a Pre-Depends) on adduser. 3. When the addgroup fails there should not be a || true to proceed anyway since it will fail later like in this case.