Yum: Cannot retrieve repository metadata for epel
Don Quixote de la Mancha
quixote at dulcineatech.com
Sun Jul 19 12:45:44 UTC 2009
Immediately after upgrading from Fedora 10 to 11, I did a "yum
update". It downloaded about 120 packages, then gave me an error
message (which I'm afraid I didn't save). Now when I try a "yum
update" I get:
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: epel. Please verify its path and try again
In researching this I found some advice about switching the comments
between the baseurl and mirrorlist lines in
/etc/yum.repos.d/epel.repo, but when I do that I get:
http://download.fedora.redhat.com/pub/epel/6/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found
and indeed when I look at:
http://download.fedora.redhat.com/pub/epel/
there directories named 4 and 5 but not 6.
Possibly I could get it to work by replacing the 6 in the URL above
with a 5, but I thought I should check first lest I screw my system up
by doing so.
Here is the first item in my epel.repo:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedora.redhat.com/pub/epel/6/$basearch
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Thanks,
Don Quixote
--
Don Quixote de la Mancha
quixote at dulcineatech.com
http://www.dulcineatech.com
More information about the fedora-list
mailing list