Make sure to backup all your data before doing this, always backup backup backup!
Update your sources.list:
- vim /etc/apt/sources.list
Add the following sources:
- 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
- # wheezy-updates, previously known as ‘volatile’
- deb http://mirrors.kernel.org/debian/ wheezy-updates main
- deb-src http://mirrors.kernel.org/debian/ wheezy-updates main
Update the package list:
- apt-get update
Update the minimal base system:
- apt-get upgrade
Upgrade the rest of the system:
- apt-get dist-upgrade
Reboot the system:
- reboot
Once the server comes back to life verify you are now running Debian Wheezy:
- cat /etc/issue
Sample Output:
- Debian GNU/Linux 7 \n \l