Installation dnf已损坏:已尝试所有镜像
我不知道如何描述我的问题,因为我不明白它为什么会发生。。。我进去的时候Installation dnf已损坏:已尝试所有镜像,installation,fedora,tor,dnf,Installation,Fedora,Tor,Dnf,我不知道如何描述我的问题,因为我不明白它为什么会发生。。。我进去的时候 sudo dnf install (any packet) 它还给我这个 Tor Project Repo 407 B/s | 264 B 00:00 Error: Failed to download metadata for repo 'Tor': Cannot download repomd.xml: Cannot download repodata/repomd.xm
sudo dnf install (any packet)
它还给我这个
Tor Project Repo 407 B/s | 264 B 00:00
Error: Failed to download metadata for repo 'Tor': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
很明显Tor和那场混乱有关,但我不知道为什么
我什么也没试过,因为我害怕做错事。我穿的是软呢帽30。
(英国法式面包)看来你的仓库坏了。您可能会在以下位置找到此存储库:
ls /etc/yum.repos.d/
可能会有一个名为
tor*.repo
的文件。如果删除该文件(或将其编辑为包含enabled=0
),则dnf应再次正常工作。似乎您的存储库已损坏。您可能会在以下位置找到此存储库:
ls /etc/yum.repos.d/
可能会有一个名为tor*.repo
的文件。如果删除该文件(或将其编辑为包含enabled=0
),则dnf应再次正常工作
未能下载repo“bintray–resin io redhat”的元数据:无法下载repomd.xml:无法下载repodata/repomd.xml
我在kubernetes.repo上也犯了同样的错误。通过在/etc/yum.repos.d/kubernetes.repo
中设置enabled=0
解决了此问题。现在我可以下载其他软件包(例如我无法下载的Nginx)
未能下载repo“bintray–resin io redhat”的元数据:无法下载repomd.xml:无法下载repodata/repomd.xml
我在kubernetes.repo上也犯了同样的错误。通过在
/etc/yum.repos.d/kubernetes.repo
中设置enabled=0
解决了此问题。现在我可以下载其他软件包(例如我无法下载的Nginx)。sudo dnf install some package--disablerepo='tor*'会发生什么?sudo dnf install some package--disablerepo='tor*'会发生什么?