summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/progress-linux.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst
index 4750342..a1617f1 100755
--- a/debian/progress-linux.postinst
+++ b/debian/progress-linux.postinst
@@ -108,6 +108,11 @@ Remove_ssh_known_hosts ()
fi
}
+Remove_apt_keys ()
+{
+ rm -f "/etc/apt/trusted.gpg.d/${PROJECT}.gpg"
+}
+
case "${1}" in
configure)
. /usr/share/debconf/confmodule
@@ -161,6 +166,9 @@ case "${1}" in
# openssh-server
Configure_ssh_known_hosts
+
+ # upgrading from buster
+ Remove_apt_keys
;;
abort-upgrade|abort-remove|abort-deconfigure)