yum is broken (repository or http maybe)

General support questions including new installations
Post Reply
adrien-lakers
Posts: 1
Joined: 2017/04/11 13:29:57

yum is broken (repository or http maybe)

Post by adrien-lakers » 2017/04/11 13:47:30

Hello,

I think my yum repos are broken. When I try to run yum update, this is what I get : Image

I already tried to enable/disable repos in .repo files and running yum clean all doesn't change anything.
Tell me if you need any other information, and thank you for taking the time to try to help me out.

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: yum is broken (repository or http maybe)

Post by stevemowbray » 2017/04/11 14:00:06

CentOS 5 is end of life. If you absolutely must continue using it see the other topic about using the vault viewtopic.php?f=19&t=62130

But you really should be looking at migrating to a supported OS.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum is broken (repository or http maybe)

Post by TrevorH » 2017/04/11 14:01:34

Well, it's not really unexpected and isn't an error. CentOS 5 went End of Life (EOL) at the end of March and all content for it has been removed from the mirrors. You can amend your /etc/yum.repos.d/CentOS-Base.repo file to point to http://vault.centos.org/5.11/os/x86_64/ (and /updates/ and /extras/ instead of /os/) but that won't fix the main problem which is that it's no longer supported.

There will be no more updates for CentOS 5. It will become increasingly insecure as time goes on. You should migrate to a supported version ASAP. Given that CentOS 6 hits what's known as "Production Phase 3" on May 10th 2017 and only critical security updates will be released for that, that really means "go CentOS 7".

There's a sticky notice about CentOS 5 EOL on all forums and it's been there for at least a year, warning about EOL in advance. There have been mails sent to the Centos-announce mailing list advertising it too.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply