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.
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.
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