Hide Forgot
Description of problem: Doing dnf upgrade of Fedora from 21 to 24 ends with: (1769/1771): xorg-x11-server-Xwayland-1.18.4-4. 486 kB/s | 933 kB 00:01 (1770/1771): webkitgtk4-2.12.4-1.fc24.x86_64.rp 685 kB/s | 11 MB 00:16 (1771/1771): webkitgtk3-2.4.11-2.fc24.x86_64.rp 616 kB/s | 12 MB 00:20 -------------------------------------------------------------------------------- Total 1.4 MB/s | 1.4 GB 17:01 warning: /var/lib/dnf/system-upgrade/adobe-source-han-sans-tw-fonts-1.004-3.fc24.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-x86_64 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-x86_64] Version-Release number of selected component (if applicable): [mike@localhost ~]$ sudo dnf system-upgrade download --refresh --releasever=24 Fedora 24 - x86_64 1.4 MB/s | 47 MB 00:33 Fedora 24 - x86_64 - Updates 1.5 MB/s | 15 MB 00:10 Using metadata from Fri Sep 2 15:29:29 2016 (0:01:53 hours old) Dependencies resolved. How reproducible:Have not tried upgrade again Steps to Reproduce: 1. 2. 3. Actual results:Failed upgrade Expected results:Sparkling new fedora 24 Additional info:
Not sure if upgrade from F21 to F24 is supposed to work however this is certainly not a gpg/gpgme bug.
You need to update fedora-repos to the latest, then update to F22 and then you can update to F24. Unfortunately N+3 upgrades are not supported.