Simple way to upgrade Ubuntu 16.04 to 18.04 LTS

All the Ubuntu fans out there who wanna upgrade LTS to LTS directly. Here is by far the most simple tried and trusted way to upgrade.

Note:- I have tried this on my personal desktop running Unity desktop Ubuntu 16.04 and all went smooth. Upgrades from LTS releases are scheduled after the first patch – 18.04.1 which is usually a month after the first release. THey need to make sure everything goes smoothly and then the software manager will allow it.So no without wasting any of our time, let us begin. Fire up the terminal and type this:-

sudo apt update && sudo apt dist-upgrade

Please note that if a new kernel is installed while running the above command, you need to reboot system in order to continue the upgrade process. Then issue the following command in terminal.

update-manager -d

Now the OS checks for updates the Graphical way and then all the magic begins soon.


Become root and give sudo privileges as usual.


Just follow the GUI instructions and within an hour or so you will be done and up & running the latest and greatest stable release of Ubuntu release so far.


After you finish downloading repositories and packages, Ubuntu might ask you to remove some obselete packages, do so if required. And now my shiny desktop looks something like this.


Here is to confirm the version


That’s it voila you’re on your shiny new OS !

 

OR if you’re panicking all the way, like most people do, here is a way out:-

fire this command inside your terminal.

sudo do-release-upgrade -d

What I would recommend is a fresh (format) install, since anytime you upgrade you’ll face incompatibility issues.

 

Akash Angle

I am a Full time Linux user who has quit using Windows for unknown reasons, making my life truly open source.

Recent Posts

Get the most juice from your ISP/router — setting MTU size & other handy tweaks

This is not an ad-vocation by any means for TP-link branding, however a real life…

7 months ago

How to make any Android phone up-to 3x faster – Developer options unleashed

First of all we need to hit the kernel version on any Android device. You…

7 months ago

systemd-resolve command not found in Ubuntu Desktop

Use resolvectl status instead. It's like something deprecates and suddenly things get broken! In systemd…

12 months ago

How to exclude multiple directories with rsync?

Geeky question: This is what people and friends have tried: rsync -arv --exclude "/home/john/.ccache:/home/ben/build" /home/john…

12 months ago

How to resolve apt-get -f not working

You might encounter this error which appears to be very common on Debian based Distro's…

12 months ago

How to install Broadcom STA wireless drivers on Kali Linux

PS: This article is for only Kali Linux users, that too having a Broadcom Wireless…

1 year ago