728x90
- 문제 발생
dnf install mysql-community-libs 설치 시
아래와 같이 "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022" 에러가 발생한다.
# dnf install mysql-community-libs-8.0.30-1.el9.x86_64
Last metadata expiration check: 0:02:12 ago on Wed May 3 15:45:38 2023.
Dependencies resolved.
====================================================================================================================
Package Architecture Version Repository Size
====================================================================================================================
Installing:
mysql-community-libs x86_64 8.0.30-1.el9 mysql80-community 1.5 M
Installing dependencies:
mysql-community-client-plugins x86_64 8.0.30-1.el9 mysql80-community 1.4 M
mysql-community-common x86_64 8.0.33-1.el9 mysql80-community 554 k
Transaction Summary
====================================================================================================================
Install 3 Packages
Total size: 3.3 M
Installed size: 25 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] mysql-community-client-plugins-8.0.30-1.el9.x86_64.rpm: Already downloaded
[SKIPPED] mysql-community-common-8.0.33-1.el9.x86_64.rpm: Already downloaded
[SKIPPED] mysql-community-libs-8.0.30-1.el9.x86_64.rpm: Already downloaded
MySQL 8.0 Community Server 0.0 B/s | 0 B 00:00
Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022]
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
원인
Mysql의 GPG Key가 만료되어 발생되는 오류입니다.
조치
아래와 같이 GPG Key 갱신하면 된다.
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
반응형
'Common > DataBase' 카테고리의 다른 글
[PostgreSQL] 재시작없이 설정 즉시 적용 (0) | 2021.09.30 |
---|---|
[Tool] MySQL workbench 설치 방법 및 visual c++ 2019 설치 (2) | 2020.09.08 |
[DB/Oracle/MySQL] 테이블 컬럼 수정 (ALTER TABLE) 방법 및 정리 (0) | 2020.03.12 |
[DB/Oracle/MySQL] table (unique) index 생성, 삭제, 수정, 조회 방법 (0) | 2019.08.06 |
[DB/SQL/Oracle] 기존 테이블 구조 확인 방법 (0) | 2019.02.28 |