package: src:debianutils severity: serious version: 4.11.2 tag: patch debianutil's add-shell script uses awk, but awk is not an Essential:yes package. For systems where awk is not yet installed (chroots), installation of dash will currently fail since it's postinst calls add-shell from debianutils.
A simple fix seems possible, just change add-shell to use cat, which is in coreutils (Essential:yes). Proposed update attached. Best wishes, Mike
--- debianutils-4.11.2/add-shell 2020-05-22 20:00:40.000000000 -0400 +++ debianutils-4.11.3/add-shell 2021-02-07 21:47:27.000000000 -0500 @@ -17,7 +17,7 @@ } trap cleanup EXIT -if ! awk '{print}' "$file" > "$tmpfile" +if ! cat "$file" > "$tmpfile" then cat 1>&2 <<EOF Either another instance of $0 is running, or it was previously interrupted.