I don't know how to lớn describe my problem because I don't understand why it happen ... When i enter
sudo dnf install (any packet)
It return má this
Tor Project Repo 407 B/s | 264 B 00:00
Error: Failed to lớn tải về metadata for repo 'Tor': Cannot tải về repomd.xml: Cannot tải về repodata/repomd.xml: All mirrors were tried
Its obvious that Tor is related to lớn that mess but i don't know why.
I tried nothing because I'm afraid to lớn tự something wrong. I'm on fedora 30. (english baguette)
Chris Maes
37.5k15 gold badges116 silver badges153 bronze badges
asked Jan 22, 2020 at 10:22
Sgt ShepardSgt Shepard
611 gold badge1 silver badge5 bronze badges
1
It seems lượt thích you have a broken repository. Probably you will find this repository in:
ls /etc/yum.repos.d/
there will probably be a tệp tin named tor*.repo
. If you remove that tệp tin (or edit it to lớn contain enabled=0
), then dnf should start working correctly again.
answered Jan 22, 2020 at 10:58
Chris MaesChris Maes
37.5k15 gold badges116 silver badges153 bronze badges
I tried this command and my problem fixed:
sudo rm -r /var/cache/dnf
answered Oct 3, 2022 at 5:27
Soheil BabadiSoheil Babadi
6522 gold badges6 silver badges18 bronze badges
Failed to lớn tải về metadata for repo ‘bintray–resin-io-redhat’: Cannot tải về repomd.xml: Cannot tải về repodata/repomd.xml
I was getting same error for kubernetes.repo. It got resolved by setting enabled=0
in /etc/yum.repos.d/kubernetes.repo
. Now I can tải về other package (example Nginx that I was unable to lớn download).
rene
42.3k78 gold badges119 silver badges163 bronze badges
answered Jun 11, 2020 at 10:31
Execute below commands.
mv /etc/yum.repos.d/fedora-updates.repo /tmp/
mv /etc/yum.repos.d/fedora-updates-modular.repo /tmp/
yum clean all
yum update
mozway
257k13 gold badges48 silver badges91 bronze badges
answered Apr 27, 2023 at 11:17
1
It might be because of the BaseOS broken repository.
Try to lớn edit the following files: /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-AppStream.repo
Change enabled=1 to lớn enabled=0 If enabled=1 is not present just add enabled=0
Then try #yum update -y