Debian: Upgrade 6.0 Squeeze to v7.0 Wheezy

Debian LinuxAs Debian v7.0 Wheezy has been released for a while, we will show how to upgrade from v6.0 Squeeze here step by step.
Before any operations, it’s highly suggested making a backup, as least for data files and configuration files of your major applications.
Basically the upgrade is kind of easy as normal, we had posted on how to upgrade Lenny to Squeeze, you can refer to it.

The following instructions are tested on a local server, and would work on remote server too.
Firstly, we need to specify the distribution that we use by editing /etc/apt/sources.list:
Find word squeeze and replace with wheezy. Here is an example for reference:

deb wheezy main
deb wheezy/updates main
deb wheezy-updates main

Then run following commands.Update the package list, input:

# apt-get update

Then update the minimal base system, enter:

# apt-get upgrade

Then upgrade the rest of the system, type:

# apt-get dist-upgrade

Finally reboot system if everything looks smooth.
Verify your system, enter:

root@deb:~# lsb_release -a

No LSB modules are available.
Distributor ID:     Debian
Description:     Debian GNU/Linux 7.1 (wheezy)
Release:     7.1
Codename:     wheezy

Then check application and system log files for any potential issues. Good luck!

Share Button

Leave a comment

Your email address will not be published. Required fields are marked *