Archive for April 9th, 2009
Fedora Core 6 (FC6) yum issues
by z3n on Apr.09, 2009, under Linux Happyness
Problem:
yum stopped working with funny messages:
Error: Cannot find a valid baseurl for repo: core
editing /etc/yum.repos.d/ files by removing the # near the baseurl, gives this other happy error message:
Setting up repositories
http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Thu, 09 Apr 2009 16:23:29 GMT
Server: Apache
Content-Length: 249
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: core
Solution:
I have this old FC6 server but apparently there’s no info about how to fix the repositories, at least not new info, mostly of the information i’ve found is outdated, and apparently fedora has changed the address of the repos since 2008/08/28 (weirdly it still working since last week)
so i found at:
ftp://download.fedora.redhat.com/pub/fedora/linux/core/6/
a nice readme telling where the files are,
http://archives.fedoraproject.org/pub/archive/fedora/
all you need to do now, is replace into the .repo files at your’s /etc/yum.repos.d/ the new path and done!
Since this is a boring process, and i would need the .repo files myself i uploaded to the server, so: