Skip to main content
  1. Posts/

RPM-GPG-KEY-AlmaLinux Update Failure

·1 min·
centos centos almalinux
Table of Contents

Issue
#

Ketikan menjalankan update sistem di AlmaLinux muncul error seperti berikut.

Public key for libstdc++-8.5.0-18.el8.alma.x86_64.rpm is not installed. Failing package is: libstdc++-8.5.0-18.el8.alma.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
Public key for ncurses-6.1-9.20180224.el8_8.1.x86_64.rpm is not installed. Failing package is: ncurses-6.1-9.20180224.el8_8.1.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
Public key for ncurses-base-6.1-9.20180224.el8_8.1.noarch.rpm is not installed. Failing package is: ncurses-base-6.1-9.20180224.el8_8.1.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
Public key for ncurses-libs-6.1-9.20180224.el8_8.1.x86_64.rpm is not installed. Failing package is: ncurses-libs-6.1-9.20180224.el8_8.1.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
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

Solution
#

Mengambil informasi dari AlmaLinux 8 GPG key change, hal tersebut dikarenakan GPG KEY yang sudah tidak valid atau telah kadaluwarsa sejak bulan Januari 2024. Sehingga pengguna perlu mengambil langkah-langkah khusus untuk mengimpor GPG KEY baru.

Untuk mengimpor GPG KEY AlmaLinux gunakan perintah.

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

Selanjutnya perbarui versi OS AlmaLinux dengan perintah.

dnf upgrade almalinux-release

Related

Configuring Networks on CentOS
·1 min
centos centos
Create Bridges on Bonds with and without VLANs using NetworkManager
·1 min
centos linux centos
Managing dnf Module Versions
·1 min
centos centos
Configuring Network Teaming
·2 mins
centos linux centos
Configuring Network Bonding
·3 mins
centos linux centos
Extract RPM Package Files
·1 min
centos centos