Upgrade Ubuntu 14.04 LTS to Ubuntu 16.04 LTS

11:24 PM Unknown 0 Comments



Introduction

With the release of Ubuntu 16.04 LTS now just a couple of days away you may be trying to decide whether to upgrade or not. Well, we’re here to complicate matters by showing you how to do it, both before this Thursday’s release and after it.  “Ask yourself: ‘Do I really need to upgrade right now?'” So if you’re wondering how to upgrade Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, read on; we’re here to walk you through the process step-by-step.

Is Performing an LTS-to-LTS Upgrade Recommended?

Like the version you are upgrading from, Ubuntu 16.04 is a Long Term Support release. It will receive critical bug fixes and security updates from Canonical for 5 years. A device running Ubuntu 14.04 LTS will only tell you there is a new Ubuntu update after the first point release goes live. 
In Xenial’s case that’s July. In short: you won’t be notified of an upgrade this week. But you don’t have to wait until the system gets around to telling you. You can upgrade right now.Or you can download the ISO file .

Prerequisites

This guide assumes that you have a system running Ubuntu 14.04, configured with a non-root user with sudo privileges for administrative tasks.

1 .Back Up Your System

Before attempting a major upgrade on any system, you should make sure you won't lose data if the upgrade goes awry. The best way to accomplish this is to make a backup of your entire filesystem. Failing that, ensure that you have copies of user home directories, any custom configuration files, and data stored by services such as relational databases.

2 .Upgrade Currently Installed Packages

$ sudo apt-get update

Next, upgrade installed packages to their latest available versions:

$ sudo apt-get upgrade

This process may take some time. Once it finishes, use the dist-upgrade command, which will perform upgrades involving changing dependencies, adding or removing new packages as necessary. This will handle a set of upgrades which may have been held back by apt-get upgrade:

$ sudo apt-get dist-upgrade

3 .Use Ubuntu's do-release-upgrade Tool to Perform Upgrade

First, make sure you have the update-manager-core package installed:

$ sudo apt-get install update-manager-core

Start by running do-release-upgrade with no options:

$ sudo do-release-upgrade

4 .Check your version release now !

Run this option:

$ lsb_release -a


This is the screenshot form my computer it's now ubuntu 16.04 :D !