Signging Key not found errors for Fedora 41 templates on new install

I did a fresh install of R4.2.4
On all of my fedora templates I get the following error:

Failed to download metadata (baseurl: "https://yum.qubes-os.org/r4.2/current/vm/fc41") for repository "qubes-vm-r4.2-current"
 Librepo error: repomd.xml GPG signature verification error: Signing key not found

I get this error on any qube using Fedora 41. I did not see this issue anywhere else when I searched.

my /etc/yum.repos.d/qubes-r4.repo

[qubes-vm-r4.2-current]
name = Qubes OS Repository for VM (updates)
baseurl = https://yum.qubes-os.org/r4.2/current/vm/fc$releasever
#baseurl = http://yum.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/current/vm/fc$releasever
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-4.2-primary
skip_if_unavailable=False
gpgcheck = 1
repo_gpgcheck = 1
enabled=1

the gpgkeyfile does exist as well.

What am I missing?

Thank you

Looks to be Fedora issue in recent DNF update: 2352958 – dnf5 does not pull signing keys for repos where signing keys are specified as URL

2 Likes

Makes sense thank you!