Page 1 of 1

yum is broken (repository or http maybe)

Posted: 2017/04/11 13:47:30
by adrien-lakers
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.

Re: yum is broken (repository or http maybe)

Posted: 2017/04/11 14:00:06
by stevemowbray
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.

Re: yum is broken (repository or http maybe)

Posted: 2017/04/11 14:01:34
by TrevorH
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.