Merge pull request #15237 from Security-Onion-Solutions/bravo

rm salt keyring and repo file for deb
This commit is contained in:
Josh Patterson
2025-11-17 09:27:53 -05:00
committed by GitHub

View File

@@ -1318,6 +1318,8 @@ upgrade_salt() {
fi
# Else do Ubuntu things
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 ""
apt-mark unhold "salt-common"