So squeeze is now stable. Together with the new Debian stable release the guys also updated the website.
I have created a small bash script to perform the upgrade. Here it is.
#!/bin/bash echo "Moving to /etc/apt" cd /etc/apt echo "Backing up sources.list" cp sources.list sources.list.`date +%F` echo "Changing the sources for squeeze" sed 's/lenny/squeeze/g' sources.list > squeeze.sources.list echo "Copying squeeze to sources.list" cp squeeze.sources.list sources.list echo "Performing the upgrade." apt-get update apt-get dist-upgrade
Run the script as root or use sudo when executing.
Resulting file should be something like the following.
## main & security repositories deb http://ftp.us.debian.org/debian/ squeeze main deb-src http://ftp.us.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main
References: