Steps to upgrade Ubuntu Server 14.04 to Ubuntu 16.04 LTS

Ubuntu 16.04.2 LTS has been released a while a go but unfortunately I just got chance to update to this new version. Updating to Ubuntu 16.04 from Ubuntu 14.04 is possible without having to reinstall the whole system. With few commands, I can successfully upgraded my Ubuntu 14.04 LTS to Ubuntu 16.04.2 LTS.

upgrade ubuntu.jpg

Steps to Upgrade Ubuntu 14.04 LTS to Ubuntu 16.04 LTS Server

Step 1. Update System

Use this command to update Ubuntu 14.04

sudo apt-get update && sudo apt-get upgrade

Step 2. Install update-manager-core package

Skip this step if you have installed update-manager-core package. Otherwise, use this command to install it

sudo apt-get install update-manager-core

Step 3. Configure update-manger-core

Since we want to upgrade between LTS release, we need to make sure that we have the correct setting for it. Make sure the file  /etc/update-manager/release-upgrades is set to “lts”.

sudo nano  /etc/update-manager/release-upgrades

Make sure it shows “lts” at the bottom of the file like this

configure update manager ubuntu.png

Step 4. Perform Upgrade

To start the upgrade process, use this command

sudo do-release-upgrade

upgrade ubuntu 14.04.png

Once completed, reboot your sever and check if now its upgraded to the new version

lsb_release -a

Output:

check ubuntu version.png

Thank you for coming, please share this article so everyone can get this knowledge.

Ariel

Leave a Reply

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