Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
2016-03-29 14:21
549 查看
通过yum安装软件报错:
# yum install -y epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
# vi /etc/yum.repos.d/epel.repo
处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉,即可
具体如下:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
# yum install -y epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
# vi /etc/yum.repos.d/epel.repo
处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉,即可
具体如下:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
相关文章推荐
- SLF4J: Class path contains multiple SLF4J bindings.
- CodeForces 635D Factory Repairs(树状数组)
- lightoj 1071 - Baker Vai DP
- Codeforces 652C Foe Pairs 【dp】
- 【redis】WRONGTYPE Operation against a key holding
- Hive安装报错:Terminal initialization failed; falling back to unsupported
- NSLayoutConstraint
- CDC的四个派生类CClientDC,CPaintDC,CWindowDC,CMetaFileD
- LeetCode 219 Contains Duplicate II
- CodeIgniter基于Email类发邮件的方法
- 用Paint Tool SAI绘制漫画
- svn cleanup failed–previous operation has not finished; run cleanup if it was in
- failed to lazily initialize a collection of role
- Ubuntu raid5+lvm实验
- leetcode 11.Container With Most Water
- mybaits generator自动生成model、xml、dao
- How to enable time stamps for logs in 'dmesg' on Gaia and SecurePlatform
- 设计模式 ( 十二 ) 职责链模式(Chain of Responsibility)(对象行为)
- C++中placement new操作符(经典) http://blog.csdn.net/zhangxinrun/article/details/5940019
- Failure[INSTALL_FAILED_INSUFFICIENT_STORAGE]调试问题