Ubuntu Release Eoan (19.10) End of Life

The Eoan release or verion 19.10 of Ubuntu was very shortlived. Nevertheless due to the popularity of Ubuntu and it's many flavours several installations has been made. But since the EOL was declared there is no longer an official release channel for Eoan anymore, which means there are no more official updates. But relax, there are several ways of rectifying this and you don't have to reinstall your system, unless you just a me think it's fun. :-). Before attempting ny of these solutions, be sure to make a backup of ypr precious files. Things might break and it's always better to be safe than sorry.

Solution 1

One solution is to keep the old Eoan version. However then your system might be at risk. But if you're willing to take that risk and still will be able to install software there is an "unofficial" archiv which keeps all old discontiued releases of Ubuntu. At http://old-releases.ubuntu.com/ubuntu/dists/ you can find ALL the old Ubuntu distros. When you found your distro, in this case the Eoan (19.10) distro simply edit the apt source file and tell apt to look in the old-releases repository instead.

$ sudo nano /etc/apt/sources.list

This is a sample sources.list file generated by the installation software (Calamares) when I installed the Eoan release.

# Automatically generated by Calamares on 2020-01-27.
# Lines starting with "deb" are mandatory, while lines starting with "deb-src"
# are for more detailed package information.

deb http://se.archive.ubuntu.com/ubuntu/ eoan main restricted
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan main restricted

## Major bug fix updates produced after the final release of Lubuntu.
## Have you noticed a regression? Please report it!
## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions

deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
...

Simply replace all the URL:s in the sources.list file to the repository and point it to the old-releases repository instead:

# Automatically generated by Calamares on 2020-01-27. 
# Lines starting with "deb" are mandatory, while lines starting with "deb-src" 
# are for more detailed package information 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan main restricted 

# 2020-12-18 
deb http://old-releases.ubuntu.com/ubuntu/ eoan main restricted 

## Major bug fix updates produced after the final release of Lubuntu. 
## Have you noticed a regression? Please report it! 
## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates main restricted

# 2020-12-18 
deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted  
...

 

Whenever apt (apt-get) complains about not finding the specific release you can easily check if the URL:s in the source.list file are pointing towards a valid repository. Copy the URL from the sources.list file and paste it into your browser. You will then get a directory listing with one directory called dists/. Apt (apt-get) automatically looks in the dists folder after a directory with the same name as given as the first parameter after the URL in the sources.list file. Click on the dists/ directory and find the distro directory (eoan in this case. If you can't find the eoan folder it means that there is no release for that distro in the current repository. When apt (apt-get) finds the distro directory it looks for a file called Release. By clicking on the folder with the corresponding distro name you should be able to find the Release file. If you don't then the repository is not valid.

 

When you have replaced all the URL:s then you simply save the file and run the apt update command followed by the apt upgrade command.

$ sudo apt update

$ sudo apt upgrade

Solution 2

The second solution is to upgrade your installation to the nearest in release distro. In this case with the eoan release the nearest release is focal (version 20.04). Open the sources.list file and replace all occurances of eoan (or the release you will be replacing) with focal (or the release you will be upgrading to).

$ sudo nano /etc/apt/sources.list

This is the same sample sources.list file generated by the installation software (Calamares) when I installed the Eoan release.

# Automatically generated by Calamares on 2020-01-27.
# Lines starting with "deb" are mandatory, while lines starting with "deb-src" 
# are for more detailed package information. 

deb http://se.archive.ubuntu.com/ubuntu/ eoan main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan main restricted 

## Major bug fix updates produced after the final release of Lubuntu. 
## Have you noticed a regression? Please report it! 
## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions 

deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates main restricted 

...

Replace all occurences of the old release name with the new one.

# Automatically generated by Calamares on 2020-01-27.
# Lines starting with "deb" are mandatory, while lines starting with "deb-src"
# are for more detailed package information.

# deb http://se.archive.ubuntu.com/ubuntu/ eoan main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan main restricted 

# 2020-12-18 
deb http://se.archive.ubuntu.com/ubuntu/ focal main restricted 

## Major bug fix updates produced after the final release of Lubuntu. 
## Have you noticed a regression? Please report it! 
## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions

# deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates main restricted 

# 2020-12-18 deb http://se.archive.ubuntu.com/ubuntu/ focal-updates main restricted  

## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team. 
## Also, please note that software in Universe WILL NOT receive any review or
## updates from the Ubuntu security team directly. Updates in this repository 
## are provided by volunteers, but most come from Debian. 

# deb http://se.archive.ubuntu.com/ubuntu/ eoan universe 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan universe 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates universe 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates universe 

# 2020-12-18
deb http://se.archive.ubuntu.com/ubuntu/ focal universe 
deb http://se.archive.ubuntu.com/ubuntu/ focal-updates universe  

## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team, 
## and may not be under a free licence. Please satisfy yourself as your rights 
## to use the software. Also, please note that software in Multiverse WILL NOT> 
## receive any review or updates from the Ubuntu security team directly. 

# deb http://se.archive.ubuntu.com/ubuntu/ eoan multiverse 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan multiverse 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates multiverse 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-updates multiverse 

# 2020-12-18 
deb http://se.archive.ubuntu.com/ubuntu/ focal multiverse 
deb http://se.archive.ubuntu.com/ubuntu/ focal-updates multiverse 

##Software from this repository contains tested security updates from the 
## Ubuntu security team. 

# deb http://se.archive.ubuntu.com/ubuntu/ eoan-security main restricted 
# deb-src http://security.ubuntu.com/ubuntu eoan-security main restricted 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan-security universe 
# deb-src http://security.ubuntu.com/ubuntu eoan-security universe 
# deb http://se.archive.ubuntu.com/ubuntu/ eoan-security multiverse 
# deb-src http://security.ubuntu.com/ubuntu eoan-security multiverse 

# 2020-12-18 
deb http://se.archive.ubuntu.com/ubuntu/ focal-security main restricted 
deb http://se.archive.ubuntu.com/ubuntu/ focal-security universe 
deb http://se.archive.ubuntu.com/ubuntu/ focal-security multiverse 

## Software from this repository may not have been tested as extensively as ## software contained in the main release, although it includes newer versions 
## of some applications which may provide useful features. Also, please note 
## that software in Backports WILL NOT receive any review or updates from the 
## Ubuntu security team. 

# deb http://se.archive.ubuntu.com/ubuntu/ eoan-backports main restricted universe multiverse 
# deb-src http://no.archive.ubuntu.com/ubuntu/ eoan-backports main restricted universe multiverse 

# 2020-12-18 
deb http://se.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse 

## Uncomment the following two lines to add software from Canonical's ## "partner" repository. 
## This software is not part of Ubuntu, but is offered by Canonical and the 
## respective vendors as a service to Ubuntu users. 

# deb http://archive.canonical.com/ubuntu eoan partner 
# deb-src http://archive.canonical.com/ubuntu eoan partner

Now run apt update in order to reload the repository. Then you issue a full upgrade of your system by using apt full-upgrade. (Apt will then remove ALL files and install/upgrade them) It might be a good idea to throw in the -f flag as well to automatically repair broken dependencies.

$ sudo apt update

$ sudo apt full-upgrade -f

After you have done a full upgrade it is a good idea to restart the system in order to check that everything works as expected. Wheen rebooting you will most likely have a bit messy and altered bootloader (GRUB), especially if you are running several OS:es on the same computer. But don't worry this is fairly simple to correct. But that will be covered in another article.

English