`sudo apt update` problems on 19.10
Hi,
I am running a $5/mo linode with Ubuntu 19.10 and since a few days ago can't run sudo apt update
. The output is below. Does anybody have a suggestion?
Thank you,
Stephen
$ sudo apt update
Ign:1 http://mirrors.linode.com/ubuntu eoan InRelease
Ign:2 http://mirrors.linode.com/ubuntu eoan-updates InRelease
Ign:3 http://mirrors.linode.com/ubuntu eoan-backports InRelease
Err:4 http://mirrors.linode.com/ubuntu eoan Release
404 Not Found [IP: 2600:3c00:1::68c8:17a2 80]
Err:5 http://mirrors.linode.com/ubuntu eoan-updates Release
404 Not Found [IP: 2600:3c00:1::68c8:17a2 80]
Err:6 http://mirrors.linode.com/ubuntu eoan-backports Release
404 Not Found [IP: 2600:3c00:1::68c8:17a2 80]
Ign:7 http://security.ubuntu.com/ubuntu eoan-security InRelease
Err:8 http://security.ubuntu.com/ubuntu eoan-security Release
404 Not Found [IP: 2001:67c:1562::18 80]
Reading package lists... Done
E: The repository 'http://mirrors.linode.com/ubuntu eoan 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 eoan-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 eoan-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.
E: The repository 'http://security.ubuntu.com/ubuntu eoan-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.
4 Replies
See: https://www.linode.com/community/questions/20866/error-when-running-apt-update-on-ubuntu-1910
19.10 has reached end-of-support. You should probably upgrade your system to 20.04.
-- sw
Thank you!! This helps.
I tried to upgrade via
sudo do-release-upgrade -d
but got
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
I wasn't able to upgrade even after trying to modify etc/update-manager/release-upgrades
with Prompt=lts
or Prompt=normal
.
What worked for me was this:
sudo apt dist-upgrade # this "unblocked" me??
sudo do-release-upgrade
Thank you for the help and the link. I'm not sure if I went about the upgrade in a foolish way but I think it's working.
Stephen
I haven't done an Ubuntu upgrade in a long time but it sounds like you're doing the right thing.
Going forward, I would stick with "LTS" releases. If you need something extra, use a PPA until the next LTS release. Your upgrade pain will be significantly less…
-- sw
I outlined a couple of different approaches to upgrading Ubuntu in the following Community Questions post, though it applies to any disto. I recommend creating a new Linode and then migrating data and files over once you've installed all services and dependencies on the new server.
And just because I don't think it can be stated enough: always be backing up before an upgrade.