In this tutorial I will show you how to upgrade your Debian 6.0.6 Squeeze to Debian 7.0 wheezy.
Step1. Update your /etc/apt/sources.list file:
We needed to replace all sources from sources.list file with Wheeze sources.
echo "deb http://mirrors.kernel.org/debian/ wheezy main
deb-src http://mirrors.kernel.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main" > /etc/apt/sources.list
Step2. Now upgrade your system
apt-get update && apt-get upgrade
This will take a while.
Step3. Now upgrade to Debian Wheezy using the following command:
To check if now you have installed the wheezy version use: