Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPG error on update #63

Open
bshor opened this issue Aug 14, 2024 · 2 comments
Open

GPG error on update #63

bshor opened this issue Aug 14, 2024 · 2 comments

Comments

@bshor
Copy link

bshor commented Aug 14, 2024

Hello, I'm running a variant of Fedora 40 (Nobara). cran2copr has worked amazingly for me so far.

But today, I am getting a GPG error in the system updater while trying to update cran-tm.

Verifying a signature using certificate 3124D2EF76DA4D972F6BE4AC9D60CBB71A3B4456 (iucar_cran (None) <iucar#[email protected]>):
  1. Certificate 9D60CBB71A3B4456 invalid: certificate is not alive
      because: The primary key is not live
      because: Expired on 2024-08-13T00:46:08Z
  2. Key 9D60CBB71A3B4456 invalid: key is not alive
      because: The primary key is not live
      because: Expired on 2024-08-13T00:46:08Z
error: Verifying a signature using certificate 3124D2EF76DA4D972F6BE4AC9D60CBB71A3B4456 (iucar_cran (None) <iucar#[email protected]>):
  1. Certificate 9D60CBB71A3B4456 invalid: certificate is not alive
      because: The primary key is not live
      because: Expired on 2024-08-13T00:46:08Z
  2. Key 9D60CBB71A3B4456 invalid: key is not alive
      because: The primary key is not live
      because: Expired on 2024-08-13T00:46:08Z
Copr repo for cran owned by iucar                                                            57 kB/s | 985  B     00:00    
GPG key at https://download.copr.fedorainfracloud.org/results/iucar/cran/pubkey.gpg (0x1A3B4456) is already installed
The GPG keys listed for the "Copr repo for cran owned by iucar" 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: R-CRAN-tm-0.7.14-1.fc40.copr7906035.x86_64
 GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/iucar/cran/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

This is a problem for updating R packages, but it's also stopping me from updating my system as a whole!

In any case, would be happy to troubleshoot, let me know what info you need. Thanks!

@Enchufa2
Copy link
Member

Apparently this is an open issue, see fedora-copr/copr#2894

For now, the workaround is to manually drop the old key and import the new one. In our case:

$ # drop the old key
$ sudo rpm -e gpg-pubkey-1a3b4456-5d54ab50
$ # install the prolonged one
$ sudo rpm --import https://download.copr.fedorainfracloud.org/results/iucar/cran/pubkey.gpg

Let's keep this issue open for visibility, because other users will hit the same wall.

@Enchufa2 Enchufa2 pinned this issue Aug 14, 2024
@bshor
Copy link
Author

bshor commented Aug 14, 2024

This worked! Agreed on keeping it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants