centos中的yum存储库存在问题

centos中的yum存储库存在问题,centos,centos7,yum,Centos,Centos7,Yum,我在执行命令yum repolist时出现以下错误: [root@xyz yum.repos.d]# yum repolist Loaded plugins: fastestmirror, langpacks base | 2.8 kB 00:00:

我在执行命令yum repolist时出现以下错误:

[root@xyz yum.repos.d]# yum repolist

Loaded plugins: fastestmirror, langpacks

base                                                                                                                           | 2.8 kB  00:00:00     
http:// mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
Trying other mirror.
base/7/x86_64                                                                                                                  | 2.8 kB  00:00:00     

http:// mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
Trying other mirror.
extras/7/x86_64                                                                                                                | 2.8 kB  00:00:00     

http:// mirror.centos.org/centos/7/extras/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for extras: Damaged repomd.xml file
Trying other mirror.
updates/7/x86_64                                                                                                               | 2.8 kB  00:00:00     

http:// mirror.centos.org/centos/7/updates/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.

repo id                                                                repo name                                                                status
base/7/x86_64                                                          CentOS-7 - Base                                                          0
extras/7/x86_64                                                        CentOS-7 - Extras                                                        0
updates/7/x86_64                                                       CentOS-7 - Updates                                                       0
repolist: 0

未配置Yum并在配置后得到解决。

未配置Yum并在配置后得到解决。

您是否尝试过
Yum clean all
-如果没有,请尝试一下,看看错误是否更改或消失。您是否尝试过
Yum clean all
-如果没有,请尝试一下,看看错误是否更改或消失。