To upgrade a Debian Linux system from version 6 (Squeeze) to version 7 (Wheezy), follow these steps:
sudo apt-get update sudo apt-get upgrade
This will ensure that your system is up to date before beginning the upgrade process.
/etc/apt/sources.list
file to point to the Wheezy repositories:sudo nano /etc/apt/sources.list
Replace all instances of squeeze
with wheezy
in the file. For example:
deb http://ftp.debian.org/debian wheezy main deb-src http://ftp.debian.org/debian wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main
Save the file and exit.
sudo apt-get update
sudo apt-get dist-upgrade
This will upgrade the system to Wheezy and install any necessary dependencies.
sudo reboot
After the reboot, your system should be running Debian Wheezy.