do another samhain stop
[mirror/dsa-wiki.git] / input / howto / upgrade-to-buster.mdwn
index 8991869..9bdf9f1 100644 (file)
@@ -17,7 +17,6 @@ first re-enable module loading, as new modules are needed to restart ferm (due t
 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 &&
@@ -25,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) &&