From 36374a08942f41e769fbcbf7d8775f11b8b4b7d4 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 11 Dec 2024 14:19:07 -0800 Subject: [PATCH] Remove /etc/apt/apt.conf.d/zzzz-temp-installer-unattended-upgrade if it exists A now-fixed bug in the Ubuntu installer caused this file to be created (), just remove it if we find it since it affects our unattended-upgrades config and shouldn't be there anyways. Fixes #7379. --- securedrop/debian/securedrop-config.postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/securedrop/debian/securedrop-config.postinst b/securedrop/debian/securedrop-config.postinst index d70a66ac2f..c5d9d0052e 100755 --- a/securedrop/debian/securedrop-config.postinst +++ b/securedrop/debian/securedrop-config.postinst @@ -31,6 +31,10 @@ case "$1" in # Migrate the ssh group to sdssh securedrop-migrate-ssh-group.py + # Should not exist but might because of an Ubuntu installer bug that is + # now fixed: https://bugs.launchpad.net/subiquity/+bug/2053002 + rm -f /etc/apt/apt.conf.d/zzzz-temp-installer-unattended-upgrade + ;; abort-upgrade|abort-remove|abort-deconfigure) ;;