Debian Wheezy Update – How to Update Repository in Debian Wheezy

debiandebian-wheezy

I'm working with a Debian GNU/Linux 7.5 (wheezy)

When I check the file /etc/apt/sources.list The file has this line:

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ wheezy/updates main

I tried to replaces for another repo line, but each time I replace it and run the command apt-get update after a while, I get:

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

What should I do to solve this problem?

Best Answer

Debian wheezy is no longer supported. It is two major releases older than stable. It has not received any updates since 31 May 2018.

The resolution is to dist-upgrade to oldstable, or to stable.