Centos-yum error: how to solve Cannot retrieve repository metadata (repomd.xml) for repository
This article mainly explains "centos-yum error: how to solve Cannot retrieve repository metadata (repomd.xml) for repository". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "centos-yum error: how to solve Cannot retrieve repository metadata (repomd.xml) for repository"!
CentOS-yum error: Cannot retrieve repository metadata (repomd.xml) for repository:
The solution is as follows:
Open / etc/yum.repos.d/xxxxx.repo, which in this case is / etc/yum.repost.d/xxx.repo
Change enabled=1 in item [xxx] to enabled=0
At this point, I believe you have a deeper understanding of "centos-yum error: how to solve Cannot retrieve repository metadata (repomd.xml) for repository". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!