How-upgrade-Debian6-Squeeze-Debian-7-Wheezy
How to upgrade Debian6 Squeeze to Debian 7 Wheezy?
- Make a backup before upgrade Debian
- vi /etc/apt/sources.list replace with below:
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
-
apt-get updateapt-get dist-upgrade
- check debian version via command "lsb_release -a"
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy