Wednesday, August 12, 2015

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

I was doing a yum install and I encountered an error

# yum install libstdc++-4.4.7-16.el6.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. 
Please verify its path and try again

The correct fix is to update your SSL certificates.
# yum upgrade ca-certificates --disablerepo=epel -y

Yum install again. You should be able to work.
# yum install libstdc++-4.4.7-16.el6.x86_64

No comments: