Failed to fetch repository

I got a problem on a linode vps

Err http://mirrors.linode.com wheezy/main Sources
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
Err http://mirrors.linode.com wheezy/main amd64 Packages
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
Err http://mirrors.linode.com wheezy/updates/main Sources
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
Err http://mirrors.linode.com wheezy/updates/main amd64 Packages
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
Err http://mirrors.linode.com wheezy-updates/main Sources
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
Err http://mirrors.linode.com wheezy-updates/main amd64 Packages
  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]
W: Failed to fetch http://mirrors.linode.com/debian/dists/wheezy/main/source/Sources  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

W: Failed to fetch http://mirrors.linode.com/debian/dists/wheezy/main/binary-amd64/Packages  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

W: Failed to fetch http://mirrors.linode.com/debian-security/dists/wheezy/updates/main/source/Sources  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

W: Failed to fetch http://mirrors.linode.com/debian-security/dists/wheezy/updates/main/binary-amd64/Packages  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

W: Failed to fetch http://mirrors.linode.com/debian/dists/wheezy-updates/main/source/Sources  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

W: Failed to fetch http://mirrors.linode.com/debian/dists/wheezy-updates/main/binary-amd64/Packages  404  Not Found [IP: 2600:3c02:1::42e4:3f76 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

The Os is

Distributor ID: Debian
Description:    Debian GNU/Linux 7.8 (wheezy)
Release:        7.8
Codename:       wheezy

How to fix ?

1 Reply

Linode Staff

You're seeing those errors when attempting to update packages because Debian 7 (Wheezy) reached its End Of Life (EOL) date a couple of years ago, at which time the package repository was archived. Because of how long it's been since the EOL date, I'd recommend updating your Linode's OS by spinning up a new one and moving files over.

If that's not an option right now, there's another Community Questions post that helps with changing your set up to update existing packages:

I have errors when running apt-get update in Deb 7

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct