обновление дистрибутива debian до новой версии

Меняем настройки apt: nano /etc/apt/sources.list

#deb http://ftp.debian.org/debian squeeze main contrib non-free
#deb-src http://ftp.debian.org/debian squeeze main contrib non-free
deb http://ftp.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.debian.org/debian wheezy main contrib non-free
#deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

apt-get update

aptitude install apt dpkg aptitude

aptitude full-upgrade

reboot

apt-get update && apt-get upgrade

reboot

cat /etc/debian_version

apt-get update && apt-get upgrade