This is wheezy to jessie not squeeze to wheezy.
-# 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
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
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#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 pinentry-curses &&
fi &&
apt-get update &&
apt-get install dpkg apt samhain pinentry-curses &&