Skip to content

Commit

Permalink
Merge pull request #7467 from freedomofpress/backport-7462
Browse files Browse the repository at this point in the history
[2.12.0] Backport "Remove /etc/apt/sources.list.d/original.list if present"
  • Loading branch information
legoktm authored Mar 6, 2025
2 parents 9affcba + 9276326 commit 54b99c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions securedrop/debian/securedrop-config.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ case "$1" in
# 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
# In some cases the installer will copy sources.list to original.list, but
# we override sources.list, so also remove any original.list.
# See <https://github.com/canonical/subiquity/pull/1885>.
rm -f /etc/apt/sources.list.d/original.list

;;
abort-upgrade|abort-remove|abort-deconfigure)
Expand Down

0 comments on commit 54b99c6

Please sign in to comment.