This article covers the short process of upgrading Debian operating system from Squeeze to Wheezy.
Is Squeeze up to date?
It has to. To be sure run
apt-get update && apt-get upgrade command.
Next step is to have proper entries in
Edit file with the editor of your choice, like:
vim /etc/apt/sources.list and replace the entire content with:
deb http://ftp.pl.debian.org/debian wheezy main contrib non-free deb-src http://ftp.pl.debian.org/debian wheezy main contrib non-free deb http://ftp.pl.debian.org/debian wheezy-updates main contrib non-free deb http://ftp.pl.debian.org/debian-security wheezy/updates main contrib non-free
You are free to change mirror's country code to a different one.
Update sources with:
Upgrade packages with:
Finally upgrade the entire distribution with:
This should be enough to get you from Squeeze to Wheezy.