How to upgrade from Wheezy to Jessie

Please follow the steps below to upgrade your system from Debian Linux 7 (Wheezy) to Debian Linux 8 (Jessie).

This tutorial has been tested on the following Linux distributions:

Debian Linux 7 (Wheezy)

Last updated:
March 27, 2018

1.Update all currently installed packages to the latest Wheely version

apt-get update
apt-get upgrade

2. In the apt source file (pico /etc/apt/sources.list), replace all occurrences of wheezy with jessie. This is an example of how the file looks after the change:

deb jessie main contrib non-free
deb jessie/updates main contrib non-free

3. Update the apt library

apt-get update

4. Upgrade all packages

apt-get dist-upgrade

5. Restart the system


6. Verify that the system has been updated to Debian Linux 8 (Jessie)

cat /etc/debian_version

It should read 8.0.0 or higher

Source link