Ubuntu 16.04 -> 18.04 (LTS)

Ubuntu 18.04 Bionic Beaver was released on April 26, 2018. So it’s time to upgrade version of my OS (Ubuntu) from 16.04 to 18.04. This version is LTS (Long term supported), so it is supported to 2023 (more info: wiki.ubuntu.com).

Pre upgrade

If you are using SSH connection it’s good idea to keep your session alive:

ClientAliveInterval 60
sudo systemctl restart ssh

Also I suggest to start connection via ssh on another port (if on 22 will be broken).

First, you need to do is updating your current system.

sudo apt update && sudo apt dist-upgrade

Some of you haven’t update-manager-core package. So be sure and tap:

sudo apt install update-manager-core

You can check your current version of installed OS:

lsb_release -a


Edit one file to get access to upgrade from command line:

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

On the last line tap this line (below) and then save it.


Run command to start upgrading your Ubuntu:

do-release-upgrade -d

Post upgrade

Congratulations! Check your current version of Ubuntu via terminal:

lsb_release -a