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

下载了新的yum源,安装之后,但是没法更新,出现了下面的错误。os是centos6.5

Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决办法:

sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo

yum update

参考:
CentOS 6.3 Instance Giving “Cannot retrieve metalink for repository: epel” Error

声明:
本文出自 “orangleliu笔记本” 博客,转载请务必保留此出处http://blog.csdn.net/orangleliu/article/details/44259789
作者orangleliu 采用署名-非商业性使用-相同方式共享协议

你可能感兴趣的:(centos,update,yum,EPEL,6-3)