Unable to rebase to F39

I've been hit by the gaming mode bug in F40 and wanted to rebase to a known good F39 build, but when I try I get an error. I have confirmed that the missing gpg key is not in my /etc directory for some strange reason (I didn't delete it).

Any suggestions appreciated thank you.
---
ahinds@fedora:~$ rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:39-20240330
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:39-20240330
Checking out tree 7478c3a... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:matte-schwartz:sunshine copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rok:cdemu fedora-cisco-openh264 updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree copr:copr.fedorainfracloud.org:codifryed:CoolerControl updates-archive
Updating metadata for 'rpmfusion-free-updates-testing'... done
error: Updating rpm-md repo 'rpmfusion-free-updates-testing': Failed to download gpg key for repo 'rpmfusion-free-updates-testing': Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-39 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-39]
Solution
OK. So I just fixed this issue on my system. You don't need to download any keys. The actual key is already there, the symlink is broken:
cd /etc/pki/rpm-gpg
sudo ln -s RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 RPM-GPG-KEY-rpmfusion-nonfree-fedora-39
Was this page helpful?