I have errors when running apt-get update in Deb 7
Linode
Linode Staff
I have these errors when running `apt-get update on my Debian 7 system. What do these errors mean?
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/source/Sources 404 Not Found [IP: 2a04:4e42:a::204 80]
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [IP: 2a04:4e42:a::204 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/source/Sources 404 Not Found [IP: 2600:3404:200:237::2 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found [IP: 2600:3404:200:237::2 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/main/source/Sources 404 Not Found [IP: 2600:3404:200:237::2 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/main/binary-amd64/Packages 404 Not Found [IP: 2600:3404:200:237::2 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Reply
Debian 7 (Wheezy) was deprecated on 31 May 2018 - that's why you're seeing errors. Because of its end-of-life, the package repositories have been archived, and the distribution won't continue to receive security updates.
We highly recommend upgrading Debian to the latest version, but if you'd like to continue to work with your system in the meantime, you can substitute "mirrors.linode.com" with "archive.debian.org" in /etc/apt/sources.list
and continue to have access to existing packages for the main archive.