[How To] Upgrade to Ubuntu 16.04 LTS

It’s time for Ubuntu upgrades!! With the most biggest LTS release just round the corner, fans and critics are eager to upgrade. Below are the steps to upgrade to the latest Ubuntu LTS development version.

Disclaimer: Please follow the instructions at your own risk. I assume you have some knowledge of Linux and can troubleshoot. I am not responsible if your laptop/desktop goes up in flames! These instructions are not for handhelds, so please do not even attempt this on the Ubuntu phone!

1. Upgrade from Ubuntu 15.10

Upgrading from the most recent stable release is straightforward. As always, my suggestion would be to

  • remove all proprietary video drivers from AMD/Nvidia/Intel
  •  to back up all your documents and all other data that you consider important

Before upgrading, update the system to the latest packages via update manager or command line.

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

Once the update is complete, run the following command with elevated privileges

sudo update-manager -d

upgrade-notification

upgrade-notification 2
Of course it’s a development release, it’s not released yet!!

upgrade-tool

upgrade-process

upgrade-notification 4

upgrade-notification5

upgrade-notification6

if you have mysql and phpmyadmin, you need to perform some additional steps
if you have mysql and phpmyadmin, you need to perform some additional steps

upgrade-notification 7

upgrade-notification 8
delete obsolete packages. but be careful of not removing important ones

restart

Screenshot from 2016-04-09 08-13-06

 

2. Upgrade from Ubuntu 14.10/15.04

sudo sed -i 's/wily/xenial/g' /etc/apt/sources.list

If you have third party ppas installed, you need to disable them. To do that run the following commands before you run the update command
cd /etc/apt/sources.list.d
sudo rename 's/(.*)/$1.bak/' *
sudo find . -type f -name "*" -print | xargs sed -i 's/wily/xenial/g'

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install --reinstall ubuntu-desktop
sudo update-grub
sudo update-initramfs -u

For 15.04, the codename is vivid verbet, so replace wily with vivid in the steps above.

3. Upgrade from previous LTS release

Follow the same steps as in section 1. You should be able to upgrade to Ubuntu 16.04 LTS from 14.04LTS .

 

Leave a Reply

tuxtrixmod
Scroll to Top