yum fails: Fixing Fedora Core 5 yum repositories
Fedora Core 5 is currently EOL – it’s not supported any more. As a result, you might find you can’t use yum to install packages any more – you get an error message about this file not existing:
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml
This is because the repositories that yum uses aren’t there anymore. However you can modify the repositories in /etc/yum/repos.d/ and add these to fix the problem:
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/i386/os/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/i386/debug/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/source/SRPMS/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/6/i386/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/6/i386/debug/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/updates/6/SRPMS/
http://archive.fedoraproject.org/pub/archive/fedora/linux/extras/6/i386/
An example change would be to the /etc/yum/repos.d/fedora-core.repo file:
[core] name=Fedora Core $releasever - $basearch baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/core/5/i386/os/







August 4th, 2009 at 3:01 pm
Wow, really helped me out. I didn’t realize that one of our servers was running such an old version of Fedora, but this helped me get by. We will have to upgrade.
August 5th, 2009 at 12:49 am
Muchos gracias, saved me hours of frustration!!
August 28th, 2009 at 9:36 am
that you. your post should be better ranked by google. i’m glad i finally found it.
October 14th, 2009 at 6:00 pm
Thanks, 3 days now trying to find this info. Cheers!
January 19th, 2010 at 12:49 am
Also saved me lots of time and a fresh install of the latest Fedora…