Red Hat Bugzilla – Bug 1262484
Fedora 21 doesn't contain F23 gpg keys: upgrade with dnf fails
Last modified: 2015-10-04 19:20:46 EDT
Description of problem:
dnf system-upgrade can't upgrade Fedora 21 to Fedora 23. Similarly to bug 1220358 (which refers to bug 1214150), the F23 gpg-keys are missing from F21.
After importing them, the upgrade succeeded.
Version-Release number of selected components:
Haven't tried to reproduce it, but the output message is clear enough.
Steps to Reproduce:
1. Boot Fedora 21
2. Perform a "# dnf update" (in my case, repos updates-testing were enabled)
3. Install dnf-plugin-system-upgrade
4. "# dnf system-upgrade download --releasever=23"
Upgrade fails with this output:
warning: /var/lib/dnf/system-upgrade/kernel-core-4.2.0-300.fc23.x86_64.rpm: Header V3 RSA/SHA256 Signature, ID chiave 34ec9cba: NOKEY
Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-23-X86_64 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-23-x86_64]
The gpg-key should be available and the upgrade should pass.
Proposed as a Freeze Exception for 23-beta by Fedora user juliuxpigface using the blocker tracking app because:
To be honest, it's not entirely clear if upgrading from "Fedora n-1 to Fedora n+1" is (or should be) officially supported. But, since this seems the only known bug that prevents that kind of upgrade, it would be nice to get it fixed, anyway (If not for beta, at least for the final milestone).
fedora-repos-21-3 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15683
Tested the updated package.
I can confirm it solves the issue. Fedora 23 gpg-key is now automatically imported during the process.
fedora-repos-21-3 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update fedora-repos'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15683
Discussed at 2015-09-14 freeze exception review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-09-14/f23-blocker-review.2015-09-14-16.00.log.txt . Rejected as a freeze exception: as the fix for this goes to F21, not F23, it doesn't need an exception for the F23 freeze.
If this constituted a blocker it would be a 'special blocker' (requiring that the update for F21 ship before F23 Beta was shipped), but N-2 upgrades are specifically *not* release blocking, so that doesn't apply.
fedora-repos-21-3 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.