码迷,mamicode.com
首页 > Web开发 > 详细

CentOS7 yum报 Cannot retrieve metalink for repository: epel/x86_64. Please verify its path解决方法

时间:2019-09-30 20:01:07      阅读:341      评论:0      收藏:0      [点我收藏+]

标签:ref   gpu   baseurl   修改   生成   meta   retrieve   please   eve   

打开/etc/yum.repos.d/epel.repo,将

[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
修改成:
[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缓存
yum clean all
重新生成缓存
yum makecache

CentOS7 yum报 Cannot retrieve metalink for repository: epel/x86_64. Please verify its path解决方法

标签:ref   gpu   baseurl   修改   生成   meta   retrieve   please   eve   

原文地址:https://www.cnblogs.com/itor/p/11613783.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!