Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dnf broken: all mirrors were tried

I don't know how to describe my problem because I don't understand why it happen ... When i enter

sudo dnf install (any packet)

It return me this

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

Its obvious that Tor is related to that mess but i don't know why.

I tried nothing because I'm afraid to do something wrong. I'm on fedora 30. (english baguette)

like image 543
Sgt Shepard Avatar asked Oct 26 '25 21:10

Sgt Shepard


1 Answers

It seems like you have a broken repository. Probably you will find this repository in:

ls /etc/yum.repos.d/

there will probably be a file named tor*.repo. If you remove that file (or edit it to contain enabled=0), then dnf should start working correctly again.

like image 162
Chris Maes Avatar answered Oct 29 '25 18:10

Chris Maes