Bug 1372766

Summary: Updating Fedora 21 to 24 from terminal command using dnf. Downloads progressed ok but ended with warning message as shown below and reboot displays system not ready for upgrade
Product: [Fedora] Fedora Reporter: mike rawlings <mike.rawlings>
Component: dnfAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: fkluknav, ignatenko, jsilhan, mluscon, packaging-team-maint, pnemade, rdieter, rpm-software-management, tmraz, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-05 11:15:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mike rawlings 2016-09-02 15:30:06 UTC
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:

Comment 1 Tomas Mraz 2016-09-05 08:23:21 UTC
Not sure if upgrade from F21 to F24 is supposed to work however this is certainly not a gpg/gpgme bug.

Comment 2 Igor Gnatenko 2016-09-05 11:15:00 UTC
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.