얕고넓은지식/linux

실패 -> 그냥 완전재설치) warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-server-5.7.41-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY

쪽마 2023. 3. 31. 12:02
반응형

warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-server-5.7.41-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

 

 

 

 

Dependencies Resolved

==================================================================================================
 Package                       Arch          Version               Repository                Size
==================================================================================================
Installing:
 mysql-community-server        x86_64        5.7.41-1.el7          mysql57-community        178 M
Installing for dependencies:
 mysql-community-client        x86_64        5.7.41-1.el7          mysql57-community         28 M
 mysql-community-common        x86_64        5.7.41-1.el7          mysql57-community        311 k
 mysql-community-libs          x86_64        5.7.41-1.el7          mysql57-community        2.6 M

Transaction Summary
==================================================================================================
Install  1 Package (+3 Dependent packages)

Total size: 209 M
Installed size: 895 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-server-5.7.41-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql


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.


 Failing package is: mysql-community-server-5.7.41-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

[root@localhost ~]#

 

 

 

 

 

 

왜 5.7을 설치하려고하지??

 

8을 설치해주자

 

 

 

 

[root@localhost ~]# yum install https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
Loaded plugins: fastestmirror, langpacks
mysql80-community-release-el8-1.noarch.rpm                                 |  30 kB  00:00:00
Examining /var/tmp/yum-root-7K9alC/mysql80-community-release-el8-1.noarch.rpm: mysql80-community-release-el8-1.noarch
Marking /var/tmp/yum-root-7K9alC/mysql80-community-release-el8-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql80-community-release.noarch 0:el8-1 will be installed
--> Processing Conflict: mysql80-community-release-el8-1.noarch conflicts mysql57-community-release
Loading mirror speeds from cached hostfile
 * base: mirror.elice.io
 * epel: ftp.iij.ad.jp
 * extras: mirror.elice.io
 * remi-php74: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: mirror.elice.io
No package matched to upgrade: mysql80-community-release
--> Finished Dependency Resolution
Error: mysql80-community-release conflicts with mysql57-community-release-el7-11.noarch
 You could try using --skip-broken to work around the problem

 

 

라고햇는데 해결이안되네?

 

 

 

 

 

 

다시 강제다운


[root@localhost ~]#  wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar

 

 

[root@localhost ~]# rpm -ivh openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm
error: open of openssl-devel-1.0.2k-16.el7_6.1.x86_64.rpm failed: No such file or directory
[root@localhost ~]#

 

강제 재설치

 

 

하...어렵다...

반응형