I can't believe I didn't notice those until now
[mirror/dsa-wiki.git] / input / howto / upgrade-to-jessie.mdwn
index 09e96ab..3e03cee 100644 (file)
@@ -1,4 +1,4 @@
-# Upgrade from squeeze to wheezy
+# Upgrade from wheezy to jessie
 
 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
@@ -18,10 +18,10 @@ commands:
        sed -i "s#wheezy#jessie#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
        dpkg --clear-avail &&
        if [ -e /etc/apt/sources.list.d/buildd.debian.org.list ]; then
-               sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/buildd.debian.org.list
+               sed -i "s#wheezy#jessie#g" /etc/apt/sources.list.d/buildd.debian.org.list
        fi &&
        apt-get update &&
-       apt-get install dpkg apt samhain &&
+       apt-get install dpkg apt samhain pinentry-curses &&
        service samhain stop &&
        apt-get dist-upgrade &&
        rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
@@ -68,6 +68,7 @@ apache cleanup:
 
        per vhost:
          move sites-available file to foo.conf,
+          if they exist: move sites-available/RCS and sites-staging files to foo.conf,v and foo.conf
          remove dangling symlink in sites-enabled,
          a2ensite foo
          replace all order allow,deny, allow from all with