Server

MySQL GPG keys 에러

mean-ji 2023. 1. 17. 10:27
728x90

 

yum update를 하는데 아래와 같은 에러 발생 

 

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

 

검색해보니 GPG key가 만료되어 해당 에러가 발생한다고 하더군요.

해결 방법은 아래의 명령어로 키 업데이트를 진행하면 된다고 합니다.

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

 

 


 

참고

 

CentOS 7 MYSQL 5.7 설치 GPG keys 오류 해결 방법

CentOS 7에서 아래와 같이 yum으로 MYSQL 5.7을 설치하다가 오류가 발생하고 해결해 내용을 공유드립니다. [root@localhost ~]# yum install http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm [root@localhost ~]# y

change-words.tistory.com

 

728x90