Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Centos-yum error: how to solve Cannot retrieve repository metadata (repomd.xml) for repository

Shulou Source: shulou.com Published: 2022-06-02 07:54:00 10月01日 Update

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!

Tags: Error content learning practical deeper interest method practicality practicality that is easy to operate method more friends websites channels inquiries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB Shulou Information Shulou Tech Info MySQL