Errors During Downloading Metadata For Repository Root_
Errors During Downloading Metadata For Repository Root_
這篇介紹Errors During Downloading Metadata For Repository Root_。
發生過程:
[root@test01 ~]# sudo yum install docker-ce docker-ce-cli containerd.io
created by dnf config-manager from file:///root/
Errors during downloading metadata for repository ‘root_’:
- Curl error (37): Couldn’t read a file:// file for file:///root/repodata/repomd.xml [Couldn’t open file /root/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘root_’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
表示有repo文件有問題,必須砍掉原本的重新下載。
$ cd /etc/yum.repos.d/
$ rm -rf root_.repo