Skip to content

Instantly share code, notes, and snippets.

@fawad4real
Last active April 22, 2021 05:02
Show Gist options
  • Save fawad4real/75cf9b122f8297a0dadbcf7c1b2c6ae2 to your computer and use it in GitHub Desktop.
Save fawad4real/75cf9b122f8297a0dadbcf7c1b2c6ae2 to your computer and use it in GitHub Desktop.
upgrade from disco 19.04 to focal 20.04 after end of life using do-release-upgrade method
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
Open /etc/apt/sources.list
Delete everything and replace it with the following: (you might want to keep a backup just in case)
deb http://old-releases.ubuntu.com/ubuntu eoan main
deb http://old-releases.ubuntu.com/ubuntu eoan-updates main
deb http://old-releases.ubuntu.com/ubuntu eoan-security main
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment