X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-squeeze.mdwn;h=829e8eb470fbb46ac8fc17d43757ffada2811fb2;hb=df09d9faf9de3e75b82152da05d6a7b7a1cfd85a;hp=fe54807b1d6fc45edf19456adf43c1a7f3b77a2a;hpb=7e7e8a790265bebdee532d6bb51ebd8bc7c68ad4;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-squeeze.mdwn b/input/howto/upgrade-to-squeeze.mdwn index fe54807..829e8eb 100644 --- a/input/howto/upgrade-to-squeeze.mdwn +++ b/input/howto/upgrade-to-squeeze.mdwn @@ -1,6 +1,14 @@ # Upgrade from lenny to squeeze +on buildds: + + cd ~buildd + sudo su - buildd + touch NO-DAEMON-PLEASE EXIT-DAEMON-PLEASE && exit + + now wait for the buildd to quit + turn off samhain /etc/init.d/samhain stop && @@ -42,7 +50,7 @@ update apt list upgrade - apt-get install locales-all + apt-get install locales-all apt dpkg rest follows @@ -70,7 +78,7 @@ update dsa-puppet.git (add to squeeze list in local.yaml) do a puppet run: - puppetd -t; puppetd -t; puppetd -t + puppetd -t; puppetd -t upgrade once more (security etc) @@ -84,6 +92,17 @@ maybe also apt-get install firmware-bnx2 +if you are an nfs client, make sure to load the module before boot completes: + + echo nfs >> /etc/modules + +if you are an autofs node, make sure to load the module before boot completes: + + echo autofs4 >> /etc/modules + +These last two are because autofs in particular lazy loads the modules, and it +will happen after we've disabled module loading. + clean up transitions dpkg --purge dhcp3-client && apt-get install isc-dhcp-client # mark as non-auto @@ -115,6 +134,10 @@ purge removed packages echo "really purge these [y/N]?" && read ans && [ "$ans" = "y" ] && dpkg --purge `dpkg --get-selections | awk '$2=="deinstall" {print $1}'` && echo "These are not at install:" && dpkg --get-selections | awk '$2!="install" {print $1}' +purge cruft that upgrade doesn't remove + + apt-get remove --purge emacs22-common libxmlrpc-ruby libcap1 emacs22-nox emacs22-bin-common libvolume-id0 gcc-4.2-base ifenslave libopenssl-ruby1.8 + re-init samhain possibly reboot @@ -124,7 +147,7 @@ re-enable exim, samhain mv /etc/rc2.d/K02exim4 /etc/rc2.d/S02exim4 mv /etc/rc2.d/K02samhain /etc/rc2.d/S02samhain env -i /etc/init.d/exim4 start - env -i /etc/init.d/samhain + env -i /etc/init.d/samhain start insserv