font-manager icon indicating copy to clipboard operation
font-manager copied to clipboard

Fedora 41: Signature verification failed

Open hariimurti opened this issue 10 months ago • 8 comments

Transaction failed: Signature verification failed.

OpenPGP check for package "font-manager-0.9.3.20250222-2.x86_64" (/var/cache/libdnf5/copr:copr.fedorainfracloud.org:jerrycasiano:FontManager-ed59cdc38a101b00/packages/font-manager-0.9.3.20250222-2.x86_64.rpm) from repo "copr:copr.fedorainfracloud.org:jerrycasiano:FontManager" has failed: Problem occurred when opening the package.

hariimurti avatar Feb 23 '25 03:02 hariimurti

I'm unable to duplicate this.

Try again:

sudo dnf clean all
sudo dnf install font-manager

And post the complete output, including the commands used, if it fails again.

Keep in mind that we have no control over COPR servers or your systems configuration so unless others experience the same issue this one will likely be closed as invalid

JerryCasiano avatar Feb 23 '25 03:02 JerryCasiano

Image

hariimurti avatar Feb 23 '25 04:02 hariimurti

Well, this can stay open for a bit to see if anyone else has the same issue, unfortunately I have no idea what would cause verification to fail on your system but not others.

I requested a rebuild of the COPR repository metadata and packages themselves which completed a few minutes ago.

You can try deleting the COPR repository and keys then adding it again to see if that helps but I don't have any other suggestions at this time if it doesn't other than try again later.

JerryCasiano avatar Feb 23 '25 05:02 JerryCasiano

This is https://github.com/rpm-software-management/dnf5/issues/1192

When the package is signed by the GPG key, and the key is prolonged, then GPG does not recognize that the content of the GPG key was changed and refuses to update the package.

Copr users will hit this slowly over time as keys expire.

It's fixed for F42 but too late to change defaults in F41.

Workaround

Manually remove the GPG key for the affected Copr:

$ rpmkeys --list | grep -i fontmanager
5b084280-55734ac8: jerrycasiano_FontManager [...] public key
$ sudo rpmkeys --delete 5b084280-55734ac8

On the next DNF transaction, you will be prompted to import the key again.

jn64 avatar Feb 25 '25 09:02 jn64

@jn64

Thank you, had no idea the COPR keys had expiration dates set with no mechanism in place to update them automatically.

Might have to add a note about this to the README.

For now we'll leave this open so those who run into this have an easier time finding the solution.

JerryCasiano avatar Feb 25 '25 11:02 JerryCasiano

I can confirm, I couldn't install font-manager on Fedora 41, I switched to 42 tonight, and after reimporting the copr repo, everything's fine now. And wow, the latest version is really nice 👍 Thanx to all contributors !

Just a setting I didn't understand : "Use Adwaita stylesheet", I saw no difference. What is it supposed to do ?

nd- avatar Apr 18 '25 22:04 nd-

@nd

Just a setting I didn't understand : "Use Adwaita stylesheet", I saw no difference. What is it supposed to do ?

If you're using a custom theme, nothing.

If you haven't restarted the application yet, nothing.

However, on a stock install enabling that option and restarting the application should get it to blend in better with GNOME applications.

JerryCasiano avatar Apr 18 '25 22:04 JerryCasiano