Report this

What is the reason for this report?

Upgrade from 20.04 to ? not working

Posted on October 4, 2025

Life got busy and I was unable to tend to my vps before 20.04 was eol’d. Now I’m trying to upgrade my release and not getting anywhere. Any help would be appreciated.

root@myserver:~# sudo apt update

Get:1 http://ppa.launchpad.net/ondrej/nginx/ubuntu focal InRelease [24.6 kB]
Hit:2 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease     
Hit:3 http://archive.canonical.com/ubuntu focal InRelease                         
Get:4 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [34 B]                     
Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease    
Hit:10 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease                    
Hit:11 https://esm.ubuntu.com/infra/ubuntu bionic-infra-updates InRelease 
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Fetched 24.6 kB in 2s (12.5 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

root@myserver:~# sudo apt list --upgradable
Listing... Done
ca-certificates/bionic-infra-security 202402031ubuntu0.18.04.1+esm1 all [upgradable from: 20240203~20.04.1]
libssl1.0.0/bionic-infra-security 1.0.2n-1ubuntu5.13+esm2 amd64 [upgradable from: 1.0.2n-1ubuntu5.6]
multiarch-support/bionic-infra-security 2.27-3ubuntu1.6+esm5 amd64 [upgradable from: 2.27-3ubuntu1.4]


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

Heya, @marcorama

These things happen. We have an article that covers the process, which you can check here:

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish

Regards

Heya,

You need to do the following:

apt update
apt upgrade
apt dist-upgrade
do-release-upgrade

Those are the steps.

Hi there,

Since Ubuntu 20.04 has reached EOL, the regular upgrade path might not work out of the box.

You’ll need to update and upgrade your packages first, then use do-release-upgrade. If that still doesn’t work, check the official DigitalOcean guide here: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish

An option here is to spin up a new Droplet and transfer over your website; that way you can test out everything before switching over as well.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.