centos6.2系统使用扩展源epel报错问题解决方法
生活随笔
收集整理的這篇文章主要介紹了
centos6.2系统使用扩展源epel报错问题解决方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題1;
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
原因說明;
Running this command will update the repo to use HTTP rather than HTTPS:
原因更新回購用的是http而不是https
?
解決方法:
運行如下命令即可
sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo接著再次運行你要安裝的擴展源就可以成功了(*^__^*) 嘻嘻……
以上問題參考:https://community.hpcloud.com/article/centos-63-instance-giving-cannot-retrieve-metalink-repository-epel-error
轉載于:https://www.cnblogs.com/dengrenchao/p/5133693.html
總結
以上是生活随笔為你收集整理的centos6.2系统使用扩展源epel报错问题解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iOS开发基础-九宫格坐标(4)
- 下一篇: Studio右键选项中没有Git?