Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Kevin Fenzi
kevin at scrye.com
Wed Oct 17 23:16:47 UTC 2012
On Wed, 17 Oct 2012 16:04:53 -0700
James P Dehnert Sr <jdehnert at dehnert.com> wrote:
> I just installed the peel repo on a RedHat Ent 6.1 system using the
> following command…
>
> su -c 'rpm -Uvh
> http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm'
>
> Now when I query yum I get the following error message...
>
> Error: Cannot retrieve repository metadata (repomd.xml) for
> repository: epel. Please verify its path and try again
>
> The repo file seem good to me…
>
> [epel]
> name=Extra Packages for Enterprise Linux 6 - $basearch
> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
>
> But now this is breaking a number of package installed in puppet. I
> Googled this error, but the consensus seems to be to just disable the
> repo, which doesn’t really address the problem.
>
> Does anyone have a clue as to why this is happening?
Do a:
URLGRABBER_DEBUG=1 yum check-update
and see if that tells you what the problem is.
It could be any of:
- The date/time on your system is way off, so they metalink is invalid.
- You are behind a proxy and can't download the metalink.
- Your dns is not working right.
etc.
kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/epel-devel-list/attachments/20121017/0190a7ab/attachment.sig>
More information about the epel-devel-list
mailing list