X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-buster.mdwn;h=9bdf9f1d3ff5aa7083aa430282199a6d66f0105b;hb=0005b5d0b23ab73cb26f508733fbc3c6d54de56b;hp=3ee6c00a64a4d91889b73d25765bacde31a2bef2;hpb=7d06736262759da2cf9a2031fae239b8d7e1f7f3;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-buster.mdwn b/input/howto/upgrade-to-buster.mdwn index 3ee6c00..9bdf9f1 100644 --- a/input/howto/upgrade-to-buster.mdwn +++ b/input/howto/upgrade-to-buster.mdwn @@ -9,17 +9,22 @@ upgrade stuff: * answer question to libc6 "Restart services automaticaly" with "yes" * 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 && + 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) && @@ -32,10 +37,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}' &&