Upgrade from Ubuntu Bionic to Focal

Posted by

Ubuntu 20.04, alias Focal Fossa has just been released, let’s try to upgrade 🙂
Don’t upgrade directly from on a production system, I’m doing it on a development server. It’s better to wait the first major update before doing it.

First we will check if our system is up to date.

sudo apt update
sudo apt upgrade -y

Technically it’s still a development release, so we will have to force the upgrade. Answer yes to the questions prompted.

sudo do-release-upgrade -d

It takes just few minutes on my server to download all the packages and analyze them. Validate the questions about the services. We will restart the machine at the end, so it’s not super important to restart all of them during the upgrade process.

After a reboot

[root@server]$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal

Leave a Reply

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