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

安装完epel后,发现一个问题:

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


解决办法:

修改文件"/etc/yum.repos.d/epel.repo",将baseurl的注释取消, mirrorlist注释掉。


测试:

yum clean all

yum list

.....

zeromq.x86_64                              2.2.0-4.el6                   epel   

zeromq-devel.i686                          2.2.0-4.el6                   epel   
zeromq-devel.x86_64                        2.2.0-4.el6                   epel   
zeromq3.i686                               3.2.5-1.el6                   epel   
zeromq3.x86_64                             3.2.5-1.el6                   epel   
zeromq3-devel.i686                         3.2.5-1.el6                   epel   
zeromq3-devel.x86_64                       3.2.5-1.el6                   epel   
zfs-fuse.x86_64                            0.6.9-6.20100709git.el6       epel   

zikula.noarch                              1.2.3-1.el6                   epel

......

Works :)

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。