Remove backports again when puppet resets our sources back to stretch
[mirror/dsa-wiki.git] / input / howto / upgrade-to-buster.mdwn
index 8991869..ee5303a 100644 (file)
@@ -30,6 +30,7 @@ commands:
        (puppet agent -t || true) &&
        : sometimes puppet resets our sources back to stretch.  insist &&
        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 &&
        apt-get update &&
        apt-get dist-upgrade &&
        apt-get --purge autoremove &&