Cannot upgrade from disco 19.04 to focal 20.04 after end of life using do-release-upgrade method

At this time, I am unable to update from Disco 19.04 to Focal 20.04. I have read several current questions that have been closed, referring to some really old questions. I have already read all the 8 year old threads and followed those instructions. They were helpful but they don’t solve my problem. I have read all the questions suggested to me while typing this. Please don’t close my thread and refer to the old ones as they do not resolve this issue, which is NEW (as in, it has been 8 years already since those questions were answered and they don’t address my problem).

After trouble shooting and replacing "archive" with "old-releases" and eliminating all the third party packages from the source list, I am able to "apt update" and "apt upgrade" and the system is up to date.

I have tried "full-upgrade", "dist-upgrade" and everything else I can think of. All now say:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I already fixed all the error messages I was getting using all the suggestions in all the other threads I have already read.

When I run "do-release-upgrade", I get the following output:

Checking for a new Ubuntu release 
Your Ubuntu release is not supported anymore. 
For upgrade information, please visit:

Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,337 kB]
Fetched 1,338 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg' 
extracting 'focal.tar.gz'
Reading cache
Checking package manager
Can not upgrade 
An upgrade from 'disco' to 'focal' is not supported with this tool.

When I user the Software Upgrade graphical tool, I get the following:

Can not upgrade: An upgrade from 'disco' to 'focal' is not supported with this tool.

This computer has many users and much software loaded and I cannot do a fresh install. First, I don’t know how to do so while saving all the users, files and programs and second, I foresee a nightmare scenario of a blown up computer with everything gone.

If I can upgrade from 19.04 to 19.10, I have been unable to figure it out. I am pretty sure it can’t be done since 19.04 is no longer supported.

In case it matters, my disk is encrypted.

Please, please, please someone tell me there is a way to get from 19.04 to 20.04 without a fresh install, saving all my users, data and programs! I would be absolutely shocked if there is no way to upgrade simply because I missed the update deadline. If not, I will be forced to buy a new computer!

Ask Ubuntu Asked by KingWm on November 14, 2021

3 Answers

3 Answers


Do an intermediary upgrade disco=>eoan=>focal

Alternate upgrade

  1. I tried part of @misteeque solution and changed all the /etc/apt/sources.list to old-release. So, can't tell if this had an impact on the steps below. I also did the http://security... ones. Comment if 0. is not needed.
  2. sudo wget
  3. sudo mkdir eoan_upgrade && sudo mkdir eoan_upgrade
  4. cd eoan_upgrade
  5. sudo ./eoan
  6. sudo do-release-upgrade and do 5. again to get to focal

lsb_release -a is helpful to check pre and post upgrades.

Answered by Hillsie on November 14, 2021

Faced the same problem after end of life. The process to upgrade to 20.04 was first to upgrade to 19.10. Following is how I upgraded 19.04 to 19.10

  1. Open /etc/apt/sources.list
  2. Delete everything and replace it with the following: (you might want to keep a backup just in case)
deb eoan main 
deb eoan-updates main 
deb eoan-security main 
  1. Finally, just run these commands one by one:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

That's basically it. Ubuntu should now be upgraded to 19.10 (Eoan)

Now it is an easy task to upgrade from Eoan to Focal (20.04)

Note: After you update to Eoan, you may want to update your sources.list file. You can find it here:

Eoan (Ubuntu 19.10):

Focal (Ubuntu 20.04):

Answered by misteeque on November 14, 2021

This is the only instruction which helped me: Upgrading End of Life (EOL) Ubuntu Version Ubuntu 19.04

Quoting from the above link:

~# nano /etc/apt/sources.list

I got stuck trying to update php 7.2 to 7.4 because my Digital Ocean server was on an older version of Ubuntu.

If I tried to update my release I'd get the following

# do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:

Please install all available updates for your release before upgrading.

When attempting to update my packages with apt-get update I would get these types of errors.

Err:5 disco Release
  404  Not Found [IP: 80

E: The repository ' disco Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

These occur because my Ubuntu version is not only out of date but at its end of life so updating Ubuntu to a newer version.will require me to update my repositories.

Digital Ocean uses its own mirrors for repositories so there is a little more work there in figuring out which ones to use.

What version of Ubuntu am I on?

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.04
Release:        19.04
Codename:       disco

What repositories are being used?

~# nano /etc/apt/sources.list

Example repoistory on Digital Ocean Ubuntu 19.04

deb disco main restricted

Let's first get our current Ubuntu version up to date

To make the server update the files, we had to edit the /etc/apt/sources.list with working repository locations.

To goal here, on this Digital Ocean server is to update the urls they use for the repositories with ones you that will have the files you need for your update

We want to replace this urls


This command will work

sudo sed -i -e 's/'



sudo apt-get update

will work!

Let's keep going

sudo apt-get upgrade -y
sudo apt-get dist-upgrade

Try to upgrade Ubuntu on the command line.

We are still unable to upgrade via do-release-upgrade

# do-release-upgrade

Checking package manager

Can not upgrade

An upgrade from 'disco' to 'focal' is not supported with this tool.


So now I have my current outdated version of Ubuntu up to date, but I can't upgrade to the next version using do-release-upgrade

You can try to upgrade manually.

First go to and scroll down to the release you want to upgrade to.

For example if you want to upgrade to Ubuntu 19.10 Eoan scroll to you find the url to the UpgradeTool


Now pull this over to a directory on your server

mkdir eoan_upgrade
tar -xvzf  eoan.tar.gz -C eoan_upgrade

cd eoan_upgrade

Run the upgrade script

sudo ./eoan
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Answered by Stalinko on November 14, 2021

Add your own answers!

Related Questions

Error in updating repository. no pub key

1  Asked on November 24, 2020 by krishna-bhovi


Question for wine and playonlinux

2  Asked on November 20, 2020 by ricky-aty


Clone Ubuntu and Windows to new SSD

1  Asked on November 15, 2020 by yogi-katba


How to Permanently adjust Screen contrast Ubuntu 18.04

2  Asked on November 12, 2020 by hao-hao


virtualbox NS_ERROR_FAILURE (0x80004005)

5  Asked on November 11, 2020 by muclux


Intel WiFi 6 AX200 not working on Ubuntu 16.04

1  Asked on November 7, 2020 by ignite


Dell active pen (PN556W) not pairing

2  Asked on November 6, 2020 by bof


Adding if statement to an existing while loop

1  Asked on November 1, 2020 by malin


How to set umask for daemon only in ubuntu 18.04?

0  Asked on November 1, 2020 by karthik-joshi-s


Can’t install xdebug on LAMPP with PHP 7.3.5

1  Asked on October 30, 2020 by idontknoware


Super Grub2 Error

0  Asked on October 30, 2020 by johncool


no such partition before install

0  Asked on October 28, 2020 by jason-thomas


Ask a Question

Get help from others!

© 2021 All rights reserved.