Upgrading Ubuntu 18.04 to 20.04

Hi,
I used the instructions here:


In order to upgrade my laptop from 18.04 to 20.04

After running sudo apt upgrade I restarted and was surprised to find that my system got upgraded to… 19.10. Now the software updated doesn’t show there’s a new release available even though it’s configured to notify “for any new version”. If i try sudo do-release-upgrade -d It notifies me that upgrades will take place, but the message doesn’t say that the upgrade is 20.04. What’s the next step to upgrade to 20.04?

Hi @chucky,

Welcome to the forum!

First, set to LTS as follows in the Ubuntu GUI called Software and Updates


Once done. Run the

sudo apt update
sudo apt ugprade
sudo do-release-upgrade
## if last failed, pass the -d option ##
sudo do-release-upgrade -d

Hey I had same problem. What I did was edited out file named /etc/update-manager/release-upgrades using the bash:

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

I make sure

Prompt=lts

I run

sudo do-release-upgrade -c  #check for it
sudo do-release-upgrade  # Update it
sudo do-release-upgrade -d # Forcefully update it to LTS dev version

So default prompting and upgrade behavior, valid options are

  1. never - Never check for, or allow upgrading to, a new release.
  2. normal - Check to see if a new release is available. If more than one new release is found, the release upgrader will attempt to upgrade to the supported release that immediately succeeds the currently-running release.
  3. lts - Check to see if a new LTS release is available. The upgrader will attempt to upgrade to the first LTS release available after the currently-running one. Note that if this option is used and the currently-running release is not itself an LTS release the upgrader will assume prompt was meant to be normal.

Thanks @tomboi and @nixcraft for your detailed replies!

I wonder - not really a technical issue I guess - since Ubuntu has officially released Focal Fossa 9 days ago - why is still internally a development version when you actually want to upgrade? :slight_smile:

That seems weird but I no expert I just follow online tutorial. Did you solved your problem?

Yes, problem solved. Thank you!


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki