Tor repodata 404 error & Fedora automatic updates

Following the Middle/Guard relay guide, yesterday I believe I installed dnf-automaticand received an error message (I think it was command not recognized) when I entered systemctl enable --now dnf-automatic-install.timer. Now I’m trying to rerun dnf install dnf-automatic to make sure that I did install it the first time but now I’m getting a 404 error. My internet is working fine otherwise (I’ve pinged several domains). Simply entering sudo dnf update also returns these 404 errors. Any ideas?

[root@fedora-39 ~]# dnf install dnf-automatic
Updating and loading repositories:
 Tor for Fedora 41 - x86_64                          100% |   1.8 KiB/s |   1.0 KiB |  00m01s
>>> Status code: 404 for https://rpm.torproject.org/fedora/41/x86_64/repodata/repomd.xml (IP:
>>> Status code: 404 for https://rpm.torproject.org/fedora/41/x86_64/repodata/repomd.xml (IP:
>>> Status code: 404 for https://rpm.torproject.org/fedora/41/x86_64/repodata/repomd.xml (IP:
>>> Status code: 404 for https://rpm.torproject.org/fedora/41/x86_64/repodata/repomd.xml (IP:
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirro
Repositories loaded.
Nothing to do.
[root@fedora-39 ~]# systemctl enable --now dnf-automatic-install.timer
Failed to enable unit: Unit dnf-automatic-install.timer does not exist

Looks like a duplicate of the issue reported here - i.e. the RPM repo has no release candidate for Fedora 41 presently. I’ve raised this as an issue on Core tor’s GitLab page.

1 Like

Thanks! Should I downgrade to Fedora 40 for the relay to run properly or will it not make a difference?

A workaround would be to install tor from source. Other than that I couldn’t advise. Maybe there’s a Fedora-based relay operator out there who could help.

I was able to download Tor, my issue was with the automatic installer — systemctl enable --now dnf-automatic-install.timer.

Could you try dnf --disablerepo=tor install dnf-automatic ?

Ok, I ran your suggested command and now I’m getting the error message that I got on Friday when I first installed automatic.

[root@fedora-39 ~]# dnf --disablerepo=tor install dnf-automatic
Updating and loading repositories:
Repositories loaded.
Nothing to do.
[root@fedora-39 ~]# systemctl enable --now dnf-automatic-install.timer
Failed to enable unit: Unit dnf-automatic-install.timer does not exist

Could you run dnf repolist --all ? I need more information.

Here it is:

[root@fedora-39 ~]# dnf repolist --all
repo id                                                                     repo name                                                                                                   status
fedora                                                                      Fedora 41 - x86_64                                                                                         enabled
fedora-cisco-openh264                                                       Fedora 41 openh264 (From Cisco) - x86_64                                                                   enabled
fedora-cisco-openh264-debuginfo                                             Fedora 41 openh264 (From Cisco) - x86_64 - Debug                                                          disabled
fedora-cisco-openh264-source                                                Fedora 41 openh264 (From Cisco) - x86_64 - Source                                                         disabled
fedora-debuginfo                                                            Fedora 41 - x86_64 - Debug                                                                                disabled
fedora-source                                                               Fedora 41 - Source                                                                                        disabled
tor                                                                         Tor for Fedora 41 - x86_64                                                                                 enabled
updates                                                                     Fedora 41 - x86_64 - Updates                                                                               enabled
updates-debuginfo                                                           Fedora 41 - x86_64 - Updates - Debug                                                                      disabled
updates-source                                                              Fedora 41 - Updates Source                                                                                disabled
updates-testing                                                             Fedora 41 - x86_64 - Test Updates                                                                         disabled
updates-testing-debuginfo                                                   Fedora 41 - x86_64 - Test Updates Debug                                                                   disabled
updates-testing-source                                                      Fedora 41 - Test Updates Source