Fedora Account System
Red Hat Associate
Red Hat Customer
According to https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/ `clean-rpm-gpg-pubkey` should remove **old** RPM package signing keys. Unfortunately it now also deletes the current Fedora 45 primary key. ``` # sudo clean-rpm-gpg-pubkey --dry-run Would've removed Fedora (45) <fedora-45-primary> public key ``` Executing it (without --dry-run) requires to always import (and check fingerprint) of the Fedora 45 primary key on dnf update. Presumably this is because the repo file has been moved from /etc/yum.repos.d to /usr/share/dnf5/repos.d/ - and clean-rpm-gpg-pubkey doesn't take that into account. Workaround: import the key again (check fingerprint) and don't run clean-rpm-gpg-pubkey again (for now). Reproducible: Always Steps to Reproduce: 1. run `clean-rpm-gpg-pubkey` 2. Fedora 45 primary package signing key is deleted 3. run `dnf update` - package signing key needs to be imported again Actual Results: Fedora 45 primary key is deleted Expected Results: Fedora 45 primary key is kept
*** This bug has been marked as a duplicate of bug 2566150 ***