See apt-secure... Error message while updating

I am getting the error while updating the system. Please let me know why this is happening.

Err:8 disco-security Release
404 Not Found [IP: 2001:67c:1360:8001::23 80]
Reading package lists... Done
E: The repository ' disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Welcome to Ubuntu MATE community.

You are running old version of Ubuntu - 19.04 , named disco. It is not supported anymore.
You need to upgrade it to newest regular release 19.10 (eoan).

You have to use procedure from AskUbuntu:

# to fix the repositories
sudo sed -i -re 's/([a-z]{2}\.)?|' /etc/apt/sources.list

# to install latest updates to old release
sudo apt-get update && sudo apt-get dist-upgrade

and then upgrade to 19.10 release with

sudo apt-get update
sudo apt-get install ubuntu-release-upgrader-core
sudo do-release-upgrade
1 Like


you should upgrade to 20.04!. :grinning:

The 404 error means that there are no file lists available because as pointed out above, it is no longer supported!. :thinking: