Package: softhsm2-common
Version: 2.6.1-2.1
Severity: serious
Tags: patch
Dear maintainer:
When installing this package on a minimal chroot,
this is what happens:
Setting up softhsm2-common (2.6.1-2.1) ...
/var/lib/dpkg/info/softhsm2-common.postinst: 17: groupadd: not found
This is because softhsm2-common should have a Depends on "passwd",
which is not essential.
Trivial patch attached.
Thanks.
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,8 @@ Vcs-Git: https://salsa.debian.org/debian/softhsm2.git
Package: softhsm2-common
Architecture: any
-Depends: ucf,
+Depends: passwd,
+ ucf,
${misc:Depends},
${shlibs:Depends}
Conflicts: softhsm-common (<< 2.0)