GPG key on copr repo has expired
Closed this issue · 2 comments
potchin commented
Just noticed this when trying to install joplin from the copr repo..
sudo dnf install joplin
Last metadata expiration check: 0:00:09 ago on Fri 05 Apr 2024 15:41:04 BST.
Dependencies resolved.
================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
================================================================================================================================================================================================================================================
Installing:
joplin x86_64 2.14.19-2.rp.fc39.taw copr:copr.fedorainfracloud.org:taw:joplin 281 M
Transaction Summary
================================================================================================================================================================================================================================================
Install 1 Package
Total size: 281 M
Installed size: 477 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] joplin-2.14.19-2.rp.fc39.taw.x86_64.rpm: Already downloaded
error: Verifying a signature using certificate F5003E74298FF8CE2E607E65C2E417480AE3C5A9 (taw_joplin (None) <taw#joplin@copr.fedorahosted.org>):
1. Certificiate C2E417480AE3C5A9 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-03-18T03:39:39Z
2. Key C2E417480AE3C5A9 invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-03-18T03:39:39Z
error: Verifying a signature using certificate F5003E74298FF8CE2E607E65C2E417480AE3C5A9 (taw_joplin (None) <taw#joplin@copr.fedorahosted.org>):
1. Certificiate C2E417480AE3C5A9 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-03-18T03:39:39Z
2. Key C2E417480AE3C5A9 invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-03-18T03:39:39Z
Copr repo for joplin owned by taw 25 kB/s | 985 B 00:00
GPG key at https://download.copr.fedorainfracloud.org/results/taw/joplin/pubkey.gpg (0x0AE3C5A9) is already installed
The GPG keys listed for the "Copr repo for joplin owned by taw" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: joplin-2.14.19-2.rp.fc39.taw.x86_64
GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/taw/joplin/pubkey.gpg
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
tswsl1989 commented
From the COPR page:
EXPIRED GPG KEY?
If you get complaints about an expired GPG for this COPR repo after dnf downloads the joplin RPM, do this …
- Find the actual COPR key using: rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n" gpg-pubkey | grep joplin
- Remove your current GPG key for the COPR: sudo rpm -e gpg-pubkey-XXXXXXXX-XXXXXXXX (replacing the gpg-pubkey-* with the numbers from step 1).
- Re-install or upgrade: sudo dnf upgrade joplin -y or sudo dnf install joplin -y
This has solved the problem for me.
potchin commented
Yep, that solves it, thanks