# 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 general developer box. on buildds: cd ~buildd sudo su - buildd touch NO-DAEMON-PLEASE EXIT-DAEMON-PLEASE && exit now wait for the buildd to quit upgrade stuff: sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list && apt-get update && apt-get install dpkg apt samhain && service samhain stop && apt-get dist-upgrade && rm /var/state/samhain/samhain_file && samhain --foreground -t init -p none -s none -l none -m none && (puppet agent -t || true) && apt-get dist-upgrade && c_rehash /etc/ssl/debian/certs && apt-get --purge autoremove answer question to libc6 "Restart services automaticaly" with "yes" 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*) say no to other other questions. if /etc/apache2/apache2.conf was not changed, remove the include for httpd.conf. clean ups: orphaner --purge -n apt-get purge liblzma2 lzma libept1 /usr/lib/nagios/plugins/dsa-check-packages | tr -d , apt-get --purge autoremove purge removed packages dpkg --get-selections | awk '$2=="deinstall" {print $1}' && 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}' update dsa-nagios.git (add host to wheezy hostgroup) re-init samhain samhain --foreground -t update -p none -s none -l none -m none possibly reboot