X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-buster.mdwn;h=ee5303abf9756819319435bfa3b286e78c37562e;hb=8184f9e40f2bf0d86c4e603bcd167493605822aa;hp=5b58b416f141d723a867575618db8f315181b4ae;hpb=51ab52f30e230edbcbe98026a2ff1c43fb8e368b;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-buster.mdwn b/input/howto/upgrade-to-buster.mdwn index 5b58b41..ee5303a 100644 --- a/input/howto/upgrade-to-buster.mdwn +++ b/input/howto/upgrade-to-buster.mdwn @@ -10,6 +10,7 @@ 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 @@ -29,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 &&