php79 stack v1.3.1 – MariaDB GPG key 갱신

MariaDB 패키지 설치시 사용되는 GPG Key 가 2023년도 변경되었습니다.

https://mariadb.com/kb/en/gpg/
Beginning in 2023 we migrated the key used to sign our yum/dnf/zypper repositories and to sign our source code and binary tarballs to the same key we use for Debian and Ubuntu.

이로인해 MariaDB 패키지 설치시 GPG Key 에러가 발생하게 됩니다.

에러 요약) The GPG keys listed for the "MariaDB" repository are already installed but they are not correct for this package.

yum update MariaDB-*

경고: /var/cache/yum/x86_64/7/mariadb/packages/MariaDB-server-10.6.12-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID c74cd1d8: NOKEY1 MB/s |  24 MB  00:00:00 ETA
Public key for MariaDB-server-10.6.12-1.el7.centos.x86_64.rpm is not installed
MariaDB-server-10.6.12-1.el7.centos.x86_64.rpm                                                                                                              |  25 MB  00:00:06
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB

The GPG keys listed for the "MariaDB" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

Failing package is: MariaDB-server-10.6.12-1.el7.centos.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB

이 경우 다음 명령으로 MariaDB GPG Key 를 갱신하면 바로 해결됩니다.

rpmkeys --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
curl -LsS -o /etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY

php79 stack v1.3.1 (2023-02-11) 부터는 2023년 MariaDB GPG Key 가 반영되어 있습니다.

이전 버전 사용자분들은 위 rpmkeys 명령 등으로 갱신해주셔야 MariaDB 패키지 설치가 가능합니다.


https://github.com/php79/stack/issues/96