The bsdmainutils package is a transitional package (at least) since
Debian/bullseye. It depends on bsdutils, debianutils, bsdextrautils +
ncal. We want bsdutils (e.g. for logger) and bsdextrautils (e.g. for
hexdump), so let's depend on those. The debianutils package is a
required and essential package in Debian anyway, so no need to
explicitly depend on it. We don't necessarily need ncal, so at least
until someone asks for it, let's not depend on it.
FTR, not modifying /etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist
yet, to give people building ISOs with grml-live based on Debian
releases older than bullseye the option to still use it as-is.
apt
aptitude
binfmt-support
-bsdmainutils
+bsdextrautils
+bsdutils
dctrl-tools
devscripts
dos2unix
bash
binutils
bridge-utils
-bsdmainutils
+bsdextrautils
+bsdutils
btrfs-progs
buffer
chntpw
# workaround for bsdmainutils transitional package, we can drop this as soon as the
# bsdextrautils + ncal packages are available in all our supported Debian releases
-# (FTR: the transitional bsdmainutils package currently depends on
-# bsdextrautils bsdutils calendar debianutils ncal)
if [[ -r "${target}/usr/share/doc/bsdmainutils" ]] && [ -x "${target}/usr/bin/deborphan" ] ; then
echo "Adding bsdmainutils to deborphan whitelist"
# workaround for https://bugs.debian.org/929273 ("fseek on /var/lib/deborphan/keep: Invalid argument")