do another samhain stop
[mirror/dsa-wiki.git] / input / howto / upgrade-to-buster.mdwn
index 5b58b41..9bdf9f1 100644 (file)
@@ -10,13 +10,13 @@ upgrade stuff:
 * say no to other other questions.
 
 first re-enable module loading, as new modules are needed to restart ferm (due to nftables):
+
        sed -i "s#echo 1#echo 0#" /etc/rc.local &&
        reboot < /dev/null
 
 commands:
 
        sed -i "s#stretch#buster#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
-       sed -i "/backports/d" /etc/apt/sources.list.d/debian.list &&
        dpkg --clear-avail &&
        apt-get update &&
        service samhain stop &&
@@ -24,6 +24,7 @@ commands:
        apt-get install dpkg apt samhain &&
        service samhain stop &&
        apt-get dist-upgrade &&
+       service samhain stop &&
        rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
        samhain --foreground -t init -p none -s none -l none -m none &&
        (puppet agent -t || true) &&