update upgrade howto for buildds
[mirror/dsa-wiki.git] / input / howto / upgrade-to-wheezy.mdwn
index a2b56c8..83dcb34 100644 (file)
@@ -20,7 +20,14 @@ upgrade stuff:
 * and change "FSCKFIX=yes" afterwards, at least on hardware without remote access (like arm*)
 * say no to other other questions.
 
+commands:
+
        sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
+       rm -f /etc/apt/preferences.d/dsa-bacula-client &&
+       if [ -e /etc/apt/preferences.d/buildd ]; then
+               rm -f /etc/apt/preferences.d/buildd &&
+               sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/buildd.debian.org.list
+       fi &&
        apt-get update &&
        apt-get install dpkg apt samhain &&
        service samhain stop &&
@@ -30,9 +37,11 @@ upgrade stuff:
        (puppet agent -t || true) &&
        apt-get dist-upgrade &&
        c_rehash /etc/ssl/debian/certs &&
+       c_rehash /etc/exim4/ssl &&
        apt-get --purge autoremove &&
        while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
-       apt-get purge liblzma2 lzma
+       apt-get purge liblzma2 lzma &&
+       apt-get clean
 
 
 if /etc/apache2/apache2.conf was not changed, remove the include for httpd.conf.
@@ -47,10 +56,15 @@ more clean ups:
        /usr/lib/nagios/plugins/dsa-check-packages | tr -d ,
        apt-get --purge autoremove
 
+maybe
+       apt-get install firmware-linux
+
 update dsa-nagios.git (add host to wheezy hostgroup)
 
+reboot
+
+verify ipv6 routing still works.
+
 re-init samhain
 
        samhain --foreground -t update -p none -s none -l none -m none
-
-possibly reboot