Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

OS Updates notes, July 2026

The postinst script for GNU Screen, that is, the dpkg component that runs after a package gets installed/configured, now depends on functionality provided by systemd-tmpfiles.

Snippet from /var/lib/dpkg/info/screen.postinst

# Automatically added by dh_installtmpfiles/14.1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
    systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create screen-cleanup.conf
fi

It doesn't give you the option to ignore errors. I assume it's generated from https://salsa.debian.org/debian/screen/-/blob/master/debian/screen.screen-cleanup.tmpfiles?ref_type=heads

LeePen suggested that I try seedfiles, which I did on a few systems. Both the standalone-tmpfiles and seedfiles worked fine, to let screen install correctly.

Comments