rehash exim4/ssl too
[mirror/dsa-wiki.git] / input / howto / upgrade-to-wheezy.mdwn
index a2b56c8..5a54701 100644 (file)
@@ -20,6 +20,8 @@ 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 &&
        apt-get update &&
        apt-get install dpkg apt samhain &&
@@ -30,9 +32,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.