linux报Cannot retrieve metalink for repository: epel. Please verify its pat

回复 收藏
故障现象:
        Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again。
处理思路:
        恢复基本的yum源地址,注释掉镜像的地址
处理方法:
        vim /etc/yum.repos.d/CentOS-Base.repo
原来的:
[epel]name=Extra Packages for Enterprise Linux 6 - $basearch#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearchmirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearchfailovermethod=priorityenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

改为:
[epel]name=Extra Packages for Enterprise Linux 6 - $basearchbaseurl=http://download.fedoraproject.org/pub/epel/6/$basearch#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearchfailovermethod=priorityenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
2016-07-17 17:57 举报
已邀请:
0

杨其顶

赞同来自:

谢谢老师鼓励

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: