yum/dnf 錯誤 Errors during downloading metadata for repository 'root_':刪除錯誤的 repo 檔
發生過程:
[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