Apt-Get Mirror Error with Ubuntu 19.10
Hello,
I am currently running Ubuntu 19.10 and am receiving the below output when trying to update. Any ideas?
apt-get -y update; apt-get -y dist-upgrade; apt-get -y autoremove
Ign:1 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:2 http://security.ubuntu.com/ubuntu disco-security Release
404 Not Found [IP: 2001:67c:1360:8001::24 80]
Ign:3 http://mirrors.linode.com/ubuntu disco InRelease
Ign:4 http://mirrors.linode.com/ubuntu disco-updates InRelease
Ign:5 http://mirrors.linode.com/ubuntu disco-backports InRelease
Err:6 http://mirrors.linode.com/ubuntu disco Release
404 Not Found [IP: 2a01:7e00:1::b24f:af37 80]
Err:7 http://mirrors.linode.com/ubuntu disco-updates Release
404 Not Found [IP: 2a01:7e00:1::b24f:af37 80]
Err:8 http://mirrors.linode.com/ubuntu disco-backports Release
404 Not Found [IP: 2a01:7e00:1::b24f:af37 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu disco-security Release' no longer has 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.
E: The repository 'http://mirrors.linode.com/ubuntu 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.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.linode.com/ubuntu disco-updates Release' no longer has 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.
E: The repository 'http://mirrors.linode.com/ubuntu disco-backports Release' no longer has 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.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 Reply
Hey there,
I did some research on the output you provided and it looks like you may need to update your repository targets. While you are running 19.10 (Eoan Ermine), your attempted update was looking for repositories for 19.04 (Disco), which is now an unsupported version of Ubuntu.
Users on a Stack Overflow post about issues performing apt-update have had similar issues regarding your current version of Ubuntu. It looks like making a change to the sources.list file with the below commands solved the problem:
sudo sed -i -e 's|disco|eoan|g' /etc/apt/sources.list
sudo apt update
If you are interested in taking a closer look at package-management you can take a look at our documentation on apt for Ubuntu. The guide goes into detail about apt commands as well as provides even more references.
I hope that this helps and if you have any other questions please reach out to us.
Regards,
Josh E.
Linode Support Team