Hello Linux Geeksters. Today I will show you how to update your Debian Squeeze 6.0.6 to Debian Wheezy 7.0, by command line interface.

Follow my steps exactly for a successful installation:
Step 0. Switch to root:
$ sudo su
Step 1. Add the Debian Wheezy repositories:
# 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
Step 3. Update the system:
# apt-get update && apt-get upgrade
Step 4. Update the Debian Wheezy:
# apt-get dist-upgrade