CyberPanel Community

ClosedDnf update on Almalinux 8 Error: GPG check FAILED

Mv
Mike van Eckendonk #1

Hello,

When I try to update the GPG check fails.

I tried to replace the default install one, but it won’t update

I use this one to update: https://rpms.litespeedtech.com/centos/RPM-GPG-KEY-litespeed

Package lsphp82-mysqlnd-8.2.8-1.el8.x86_64.rpm is not signed
Package lsphp82-pdo-8.2.8-1.el8.x86_64.rpm is not signed
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

How to resolve this issue?

3 replies
AR
Aye Right #3

yum update --nogpgcheck

jo
josephgodwinke #5

This is not a solution it is a workaround to just disable checking gpg keys of repos. Not good idea.

Do as the error says

Before that run

$ rpm --import "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux"
$ dnf clean packages
# optional
$ dnf update lsphp82-mysqlnd && dnf update lsphp82-pdo
# or
$ dnf update

Also give us this information as this will help the community

Sign in to reply