Package: pesign
Version: 0.112-6
Severity: serious
Tags: patch
Dear maintainer:
When installing this package on a minimal chroot, this is what happens:
Preparing to unpack .../26-pesign_0.112-6_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 19: groupadd: not found
dpkg: error processing archive
/tmp/apt-dpkg-install-4UpEBk/26-pesign_0.112-6_amd64.deb (--unpack):
new pesign package pre-installation script subprocess returned error exit
status 127
This is because the package should have a Pre-Depends on "passwd",
which is not essential.
Trivial patch attached.
Thanks.
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Package: pesign
Architecture: amd64 i386 armhf arm64 armel
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}, libnss3-tools, coolkey, opensc
+Pre-Depends: passwd
Description: Signing utility for UEFI binaries
This package contains the pesign utility for signing UEFI binaries (PE-COFF
format) as well as other associated tools. It is meant to follow the PE and