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

来源:互联网 发布:python 有序字典 编辑:程序博客网 时间:2024/05/17 23:50

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

Loaded plugins: fastestmirror, securityDetermining fastest mirrorsError: 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.repoyum update

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

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

0 0