fix url
[mirror/dsa-wiki.git] / input / howto / upgrade-to-wheezy.mdwn
index aed3b60..a8378af 100644 (file)
@@ -1,5 +1,5 @@
 
-# Upgrade from lenny to squeeze
+# Upgrade from squeeze to wheezy
 
 Make sure to coordinate with whoever uses the host, be it the buildd
 operator, the QA team, the ftp team or just announce it if it's a
@@ -42,7 +42,7 @@ 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}'
 
-change sources list entries to squeeze:
+change sources list entries to wheezy:
 
        cd /etc/apt/sources.list.d && sed -i "s#squeeze#wheezy#g" debian.list && sed -i "s#squeeze#wheezy#g" volatile.list && sed -i "s#squeeze#wheezy#g" security.list
 
@@ -56,7 +56,7 @@ upgrade
 
 answer question to libc6 "Restart services automaticaly" with "yes"
 
-answer "Yes" to changes of /etc/default/rcS, [http://bugs.debian.org/694928](BR#694928)
+answer "Yes" to changes of /etc/default/rcS, [BR#694928](http://bugs.debian.org/694928)
 and change "FSCKFIX=yes" afterwards, at least on hardware without remote access (like arm*)
 
 rest follows
@@ -84,9 +84,7 @@ reject changes to /etc/munin/plugin-conf.d/munin-node (puppet will install a new
  * install new version:
   * /etc/init.d/stunnel4
 
-update dsa-nagios.git (add host to squeeze hostgroup)
-
-update dsa-puppet.git (add to squeeze list in local.yaml)
+update dsa-nagios.git (add host to wheezy hostgroup)
 
 do a puppet run:
 
@@ -96,37 +94,6 @@ upgrade once more (security etc)
 
        apt-get update && apt-get dist-upgrade
 
-if you are moving from a dsa kernel to a debian kernel, add non-free to sources list, then
-
-       apt-get install firmware-linux
-
-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
-
-Do the same for grub/grub-pc if you did upgrade-from-grub-legacy
-
-       (reboot)
-       upgrade-from-grub-legacy
-       (reboot)
-       apt-get purge grub &&
-       apt-get install grub-pc
-
 clean up old libs
 
        orphaner
@@ -164,15 +131,3 @@ re-enable exim, samhain
        insserv
 
 re-init samhain
-
-### Troubleshooting
-
-### Problems with CCISS
-
-On custom kernels in squeeze it seems that udev stopped to create cciss devices, thus in /lib/udev/devices do a /dev/MAKEDEV cciss and reboot.
-
-       cd /lib/udev/devices
-       /dev/MAKEDEV cciss
-
-### mailq plugin no longer works
-       apt-get install nagios-plugins-standard