yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.相关的知识,希望对你有一定的参考价值。

这个错误其实很简单,错误信息已经提示你,就是xxxxxx.repo这个文件有问题。

(1)打开/etc/yum.repos.d/xxxxxx.repo文件

(2)enabled=1改成enabled=0

就可以解决

以上是关于yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.的主要内容,如果未能解决你的问题,请参考以下文章

yum Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.

Linux关于yum命令Error: Cannot retrieve repository metadata (repomd.xml) for repository:xxxxxx.

Linux yum出错 Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please ver

yum报错Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-source

CentOS系统yum源使用报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge.(示

解决yum报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify