rm salt keyring and repo file for deb

This commit is contained in:
Josh Patterson
2025-11-17 08:56:02 -05:00
parent 4a810696e7
commit bf41de8c14

View File

@@ -1318,6 +1318,8 @@ upgrade_salt() {
fi fi
# Else do Ubuntu things # Else do Ubuntu things
elif [[ $is_deb ]]; then elif [[ $is_deb ]]; then
# ensure these files don't exist when upgrading from 3006.9 to 3006.16
rm -f /etc/apt/keyrings/salt-archive-keyring-2023.pgp /etc/apt/sources.list.d/salt.list
echo "Removing apt hold for Salt." echo "Removing apt hold for Salt."
echo "" echo ""
apt-mark unhold "salt-common" apt-mark unhold "salt-common"