yum错误Cannot retrieve metalink for repository: epel/x86_6
Posted tiantianhappy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum错误Cannot retrieve metalink for repository: epel/x86_6相关的知识,希望对你有一定的参考价值。
yum安装epel-release后yum安装软件报错
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
原因是epel仓库默认使用https
解决方法:
改epel文件,将https改为http
sed -i ‘s#https://#http://#g‘ /etc/yum.repos.d/epel*repo
以上是关于yum错误Cannot retrieve metalink for repository: epel/x86_6的主要内容,如果未能解决你的问题,请参考以下文章
疑难杂症-CentOS-yum错误: Cannot retrieve repository metadata (repomd.xml) for repository:
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.
关于 yum 的 Error: Cannot retrieve metalink for repository: epel
Linux关于yum命令Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.
运行yum报错Error: Cannot retrieve metalink for reposit
解决yum安装时 Cannot retrieve repository metadata (repomd.xml) for repository