Wednesday, November 20, 2024

Install / Update Package Error GPG Key In Almalinux

For those who experiencing this error while installing/updating package in Alma linux:

Public key for sqlite-libs-3.26.0-19.el8_9.x86_64.rpm is not installed. Failing package is: sqlite-libs-3.26.0-19.el8_9.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

You visit the right page. Sometimes we facing those error while trying to install or update package in Almalinux. This error occurs because of we haven’t download the GPG Key to our server. So the solution is we need to download the GPG Key using this command

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

After that, please try again to run yum update first before install packages.

# yum update

It should be okay right now.