Technical details - update issue to your distribution's packagers

Hi all, I have recently tried to install some system packages, but ive gotten this message:

**Invalid package file:**

**package crystal-1.10.1-2.1.x86_64 cannot be verified and repo crystal is GPG enabled: /var/cache/PackageKit/38/metadata/crystal-38-x86_64/packages/crystal-1.10.1-2.1.x86_64.rpm could not be verified. /var/cache/PackageKit/38/metadata/crystal-38-x86_64/packages/crystal-1.10.1-2.1.x86_64.rpm: Verifying a signature using certificate 321DC2EA7F0A4F06714516B8E456AE72856D1476 (devel:languages:crystal OBS Project <devel:languages:crystal@build.opensuse.org>): 1. Certificiate E456AE72856D1476 invalid: certificate is not alive because: The primary key is not live because: Expired on 2023-07-08T13:07:32Z 2. Key E456AE72856D1476 invalid: key is not alive because: The primary key is not live because: Expired on 2023-07-08T13:07:32Z: Verifying a signature using certificate 321DC2EA7F0A4F06714516B8E456AE72856D1476 (devel:languages:crystal OBS Project <devel:languages:crystal@build.opensuse.org>): 1. Certificiate E456AE72856D1476 invalid: certificate is not alive because: The primary key is not live because: Expired on 2023-07-08T13:07:32Z 2. Key E456AE72856D1476 invalid: key is not alive because: The primary key is not live because: Expired on 2023-07-08T13:07:32Z: digest: SIGNATURE: NOT OK**

How can I fix this issue, & what does this issue mean as well so I have a better understanding on how to fix it myself next time?

Certificate is expired. That’s why this messages.

What exactly and how did you install it?

It seems to be a package called “crystal” which I never remember installing at all unfortunately. Should I try to uninstall it with:

sudo dnf remove crystal-1.9.2-2.1.x86_64

Since that’s the only version coming up that seems to be already installed? Or do I risk breaking my OS?

It looks like that there is no official Fedora package. It also shows the link to opensuse.

It depends if you need crystal, it seams to be in relation with OBS?!
If you are worried to break your system then you should probably not install software from other distributions/repositories than the fedora ones.

You can also try to reinstall it. Probably you just have an old version of it.
Install package devel:languages:crystal / crystal

1 Like