apt-get update
apt-get upgradedeb http://ftp.uk.debian.org/debian/ squeeze main non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contribapt-get update
apt-get install apt dpkg aptitude
apt-get dist-upgrade
reboot
cat /etc/debian_version
Взято с http://www.debiantutorials.com/upgrade-from-lenny-to-squeeze/
Tags: debian