运行yum报错Error: Cannot retrieve metalink for reposit

http://www.netpc.com.cn/593.html html


今天给Centos经过rpm -Uvh装了个epel的扩展后,执行yum就开始报错: centos

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

在网上查了查,解决办法都是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 spa

#baseurl
mirrorlist .net

改为 htm

baseurl
#mirrorlist get

相关文章
相关标签/搜索