From bf73c24dd1ece7a55796d5e8d3bf44e424b6a537 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 7 May 2018 14:41:38 +0200 Subject: [SSUS] Purge atftpd instead of just uninstalling --- satellit_upgrader/updater.template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 2a98f16..16d166b 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -442,7 +442,7 @@ if which "atftpd" &>/dev/null || dpkg-query -W -f='${db:Status-Abbrev}' "atftpd" if diffcp "tftpd/tftpd-hpa" "/etc/default/tftpd-hpa"; then echo "Replacing atftpd with tftpd-hpa" systemctl stop atftpd.service - failprint apt-get remove -y atftpd || pwarning "Could not uninstall atftpd" + failprint apt-get purge -y atftpd || pwarning "Could not uninstall atftpd" failprint apt-get install -y tftpd-hpa || perror "Could not install tftpd-hpa" chg=true fi -- cgit v1.2.3-55-g7522