Thursday, October 16, 2014

Solution to : "Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again"

What is EPEL?


EPEL stands for Extra Packages for Enterprise Linux.

Using EPEL, you can install packages that are not available in redhat and centos.

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


vim /etc/yum.repos.d/epel*
Replace https to http 

Try to install some external package or run "yum update". This error is usually seen when there is a proxy configured in your environment or the url present in the epel repository files is not accessible.

Try accessing the URL directly and see if you are able to view it. If not, you know what it means :)

No comments:

Post a Comment