Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again相关的知识,希望对你有一定的参考价值。
今天给Centos通过rpm -Uvh装了个epel的扩展后,执行yum就开始报错:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 把基础的恢复,镜像的地址注释掉,即将baseurl的注释取消, mirrorlist注释掉。即可。
参考URL: http://www.netpc.com.cn/593.html
以上是关于Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again的主要内容,如果未能解决你的问题,请参考以下文章
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path
Linux关于yum命令Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
报错:shell-init: error retrieving current directory: getcwd: cannot access parent directories