yum update Error: GPG check FAILED - Almalinux 8

You may have experienced an error when you tried to run yum update on Almalinux 8.9

 

The error:

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED

 

Workaround:

 

Import the GPG key from the Alamlinux repository

rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux

 

  • AlmaLinux8, Yum
  • 3617 Users Found This Useful
Was this answer helpful?

Related Articles

How to reinstall an OS on my server?

If you already have an OS installed on your server and want to change or reinstall it, you can do...

How to set rDNS records for my dedicated server IPs?

You can update rDNS records of your server IPs from Client Area (One Portal) Log in to your...

How to change SSH Port on CentOS 7/8/9

Here's how to change SSH port on Almalinux/RHEL to increase your server security. Changing the...

Do you provide KVM/IPMI access?

Yes, we provide KVM access to all servers in all locations.KVM access is free of charge in all...

Can I install a custom OS?

Yes, you can install a custom OS (OS that is not listed on the server order page) by attaching...