Cannot retrieve metalink for repository: epel 错误解决办法

centos下安装完EPEL源, 然后更新一下yum缓存, 如果发现这样的错误:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
这就表明需要更新CA证书了,那么只需要更新CA证书就可以,不过在此同时需要临时禁用epel源并更新就可以了,命令如下:
    
yum --disablerepo=epel -y update ca-certificates

时间: 2024-11-07 11:49:28

Cannot retrieve metalink for repository: epel 错误解决办法的相关文章

Error: Cannot retrieve metalink for repository: epel. 错误的解决方法

问题重现: 当配置epel源成功,yum update的时候出现如下错误: [[email protected] ~]# rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm [[email protected] ~]# yum update Loaded plugins: fastestmirror, security Loading mirror speeds from cached

yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again

在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源. 解决方法: 一句话:把/etc/yum.repos.d/epel.repo,文件第3行注释去掉,把第四行注释掉.具体如下: 打开/etc/yum.repos.d/epel.repo,将 [epel] name=Ext

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

安装eple源,在yum clean all:yum makecache 后出现报错 Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 解决办法: sed -i 's/mirrorlist/\#mirrorlist/g' epel.repo epel-testing.repo sed -i 's/\#baseurl/baseurl/g' epel.repo epel

Cannot retrieve metalink for repository: epel.

Error: Cannot retrieve metalink for repository: epel. Please verify its path and                                                                                         try again ,解决办法是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 #baseurl mirrorlist

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

今天在测试环境使用yum安装,遇到一个问题: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉.即可.

运行yum报错:Error: Cannot retrieve metalink for repository: epel. Please verify its path

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 当我们安装第三方扩展源后,yum的时候就会出现:Error: Cannot retrieve metalink for repository: epel. Please verify its path报错信息. 然后修改编辑/etc/yum.repos.d/epel.repo把镜像地址注释去掉, 然后把里面的 #ba

运行yum报错Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

解决办法: vi /etc/yum.repos.d/epel.repo 编辑[epel]下的baseurl前的#号去掉,mirrorlist前添加#号 参考资料:http://teddysun.com/153.html

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

打开/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] n

关于 yum 的 Error: Cannot retrieve metalink for repository: epel

CentOS 6.4 安装 epel 源后报这个错误,百度一下都是说 " 编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 #baseurl mirrorlist 改成 baseurl #mirrorlist " 这个可以称为 "扬汤止沸".真正的解决还得借签歪果仁的方法, " You just needed to update ca-certificates package. Before that just di