If you still have an old Fedora 7/8 installation like I do, when you try to install a new package with Yum, you’ll find yourself staring at the following error.
% yum install cvs
Repository updates is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository updates-testing is listed more than once in the configuration
Repository updates-testing-source is listed more than once in the configuration
Repository development-source is listed more than once in the configuration
fedora 100% |=========================| 2.1 kB 00:00
http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: releases-everything-os. Please verify its path and try again
Well, after half day of poking around, I eventually found out that some smart soul at Fedora decided to move the repo to a different site on 19-Mar-2009 and only left an Readme at http://download.fedora.redhat.com/pub/fedora/linux/releases/8/README
The repository was moved:
Here’s what you need to do to get your Fedora 7 or 8 installation back on its feet.
- Edit /etc/yum.conf to change all reference of “http://download.fedora.redhat.com/pub/fedora/linux/releases” to “http://archives.fedoraproject.org/pub/archive/fedora/linux/releases”. Here’s what I did with vi
% vi /etc/yum.conf and run the following search and replace command
- Then run “yum update”. You should be back in business as soon as the command completes.
Good luck and have fun