Got strange error on Cent OS 6.4. I started a new Cent OS 6.4 and here is what I got:

# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Any idea why? Thanks.


It sounds like your repo data has gone stale, corrupt, or something has changed since you last updated.

Please try yum clean all and then try yum update again and see if that has resolved your issue.

If it's still not working check the epel.repo file which you should find located at /etc/yum.repos.d/epel.repo you should expect to see something like this (extracted from my file)

name=Extra Packages for Enterprise Linux 6 - $basearch

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.