Upgrade to Debian 8 Jessie

Debian 8 is released couple of days ago, and you can upgrade your system to the latest release named “Jessie”.

In this tutorial, I’ll show you Step-by-Step upgrade process from Terminal.

For more information about new release, see our Debian 8 Released article.


Upgrade to Debian 8 Jessie

1. Backup Your System

Before you begin with upgrade make sure you backup your files just in case.

Also, make sure you have enough available space on your drive.

2. Check for Updates

Next thing which you need to do is to check for updates.

If there are updates available, make sure to update your system first, before upgrade.

If you’re not sure how to check for updates, open Terminal and type:

And then:

This will ask you to install updates if there are any.

3. Adding APT Internet sources

Sources are locations from where you get all updates.

We need to edit /etc/apt/sources.list to use mirrors for Debian 8 Jessie.

You should set mirror that is closest to you for better speed.

List of Debian HTTP and FTP mirrors can be found at https://www.debian.org/mirror/list

Note: Try to choose HTTP mirror because they are usually faster than FTP mirrors.

I’ll choose mirror.cc.columbia.edu for example.

Open Terminal and edit file:

or gedit if you love GUI more:

Go to the end of file and add this line:

After you added new line, you need to comment all lines before that by adding # at the beginning.

It will now look like this:

Save and exit file.

4. Upgrade Your System

There are two types of upgrades available:

  • Minimal upgrade
    • Minimal upgrade will update only important files and it is usually much smaller than full upgrade.
  • Full upgrade
    • Full upgrade will completely update your system with all applications you have installed.

I advice you to do minimal upgrade first and full upgrade after that.

Minimal Upgrade

To run minimal upgrade, run:

After that you will see message in Terminal saying:

Type Y to continue and wait.

When it’s finished, you can proceed to Full Upgrade.

Full Upgrade

After successfully finished Minimal Upgrade, start Dist Upgrade by running:

After that you will see message in Terminal saying:

Type Y to continue and wait.

You should probably need to enter some informations in the installation process depending on what software you have installed.

If you get some dependencies errors during installation, run following command to fix them:

5. Finishing Installation and Cleaning up

When Dist Upgrade is finished you will probably have some packages that are not removed by installer.

They are no longer needed and you can remove them with:

This will make some space on your drive.

Now reboot your system and Debian 8 will boot up.

You may also like...

Leave a Reply

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