X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-buster.mdwn;h=e4f03f2e95f44fbc9898e2b2931778c5f4a57dbf;hb=fe2e52cdba2dadb139448cd61e3f233d4eb3d074;hp=6424a998aed4f1fce689969e063b04f1b7e08e0a;hpb=0cfee7c5764bdb43287f74382321a3e0ee6dba3f;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-buster.mdwn b/input/howto/upgrade-to-buster.mdwn index 6424a99..e4f03f2 100644 --- a/input/howto/upgrade-to-buster.mdwn +++ b/input/howto/upgrade-to-buster.mdwn @@ -10,18 +10,18 @@ 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 && rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file && - apt-get install dpkg apt samhain linux-image-amd64 && + apt-get install dpkg apt samhain && service samhain stop && apt-get dist-upgrade && rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file && @@ -36,10 +36,6 @@ commands: dpkg --clear-avail && apt-get clean -on amd64, install kernel: - - apt-get install linux-image-amd64 - purge removed packages dpkg --get-selections | awk '$2=="deinstall" {print $1}' &&