Control: tags -1 = patch Lucas,
On Sat, Jul 12, 2025 at 01:13:25PM +0200, Lucas Nussbaum wrote: > mmdebstrap --variant=minbase --chrooted-customize-hook='apt update && apt -o > APT::Install-Recommends=yes install -y utrans-rc' trixie /dev/null > (Inspired from Zeha's reproducer in #1108944) Thanks. I suggest the following patch. It fixes the mmdebstrap reroducer for me. Mark commit 27a1dee33fef7659c121eb7da3f180988351f5ed Author: Mark Hindley <[email protected]> Date: Sat Jul 12 12:54:21 2025 +0100 utrans-rc.postinst: use manual trigger to regenerate scripts so it happens after all other packages are configured. Closes: #1108949 diff --git a/debian/utrans-rc.postinst b/debian/utrans-rc.postinst index c0a3ae1..14078f3 100644 --- a/debian/utrans-rc.postinst +++ b/debian/utrans-rc.postinst @@ -3,7 +3,12 @@ set -e case "$1" in - configure) utrans-rc ;; + configure) + # Remove any timestamp to force regeneration of all scripts. + rm -f /var/tmp/${DPKG_MAINTSCRIPT_PACKAGE}.stamp + # Trigger regeneration. + dpkg-trigger /usr/lib/systemd/system + ;; triggered) utrans-rc -u ;; esac # dh_installdeb will replace this with shell code automatically

