3

I have to have the capability to rollback my internet-facing repo server to Debian Wheezy due to customer requirements.

However, when I run apt-get update on the rolled-back machine, I get 404 errors, as seen in the image below. Is there not an archive repo I can point at?

enter image description here

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
  • 1
    https://unix.stackexchange.com/questions/489394/is-there-a-way-to-get-security-updates-for-wheezy-after-eol/489408#489408 provides information you will find useful. – K7AAY May 23 '19 at 20:49

3 Answers3

4

Edit your /etc/apt/sources.list, remove all entries containing wheezy-updates and run apt-get update again. This repository doesn't exist any more (or never has been in the archive).

Related: wheezy-updates on archive.debian.org returns 404 Not Found

Freddy
  • 25,565
3

Debian Wheezy support is ended due to end of lifetime cycle. EOL is 31 May 2018.

You should to update at least to Jessie following by Recommendations for upgrading from Wheezy LTS to Jessie LTS. EOL of Jessie is June 30 2020. Or update to another recent version of Debian.

0

As root, run these commands:

cp /etc/apt/sources.list /etc/apt/sources.backup
nano /etc/apt/sources.list

Inside the nano editor remove all lines and include:

deb http://archive.debian.org/debian/ wheezy main contrib non-free
deb-src http://archive.debian.org/debian/ wheezy main contrib non-free

To test the modification run:

apt-get update

Thats all! I hope it helps.

tonispa
  • 11
  • 2