Hi all! I’m trying to upgrade from F36 to F37 using dnf. After downloading packages and importing keys, I get the GPG check fail for three packages.
Public key for libadwaita-1.2.0-1.fc37.x86_64.rpm is not installed. Failing package is: libadwaita-1.2.0-1.fc37.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64
Public key for qt6-qtwayland-6.3.1-4.fc37.x86_64.rpm is not installed. Failing package is: qt6-qtwayland-6.3.1-4.fc37.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64
Public key for rng-tools-6.15-3.fc37.x86_64.rpm is not installed. Failing package is: rng-tools-6.15-3.fc37.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
Not sure how to proceed with this. If maybe someone could help me understand and fix it?
The file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64 is provided by the package fedora-gpg-keys-36-4, so you need to install or upgrade this package first.
Upgrade instructions say to make sure all updates have been applied before upgrading. If you skipped this step you could miss the package with the F37 keys, and possibly others.
Not my case. It’s not the first time I’m doing it. I ran # dnf upgrade --refresh and rebooted. Then ran the update again just in case. It told me: “Dependencies resolved. Nothing to do. Complete!” And then I got what I got. Which surprised me.
Thanks for the pointer. When I tried to install fedora-gpg-keys it told me it was already installed. However, when I attempted the upgrade after that, about 150 Mb were additionally downloaded as a part of distribution - and then the upgrade ran just fine.