数据库
首页 > 数据库> > MySQL 安装warning: mysql-community-libs-5.7.28-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID

MySQL 安装warning: mysql-community-libs-5.7.28-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID

作者:互联网

在这里插入图片描述

[root@node1 apps]# rpm -ivh mysql-community-*
warning: mysql-community-client-5.7.28-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
	libc.so.6(GLIBC_2.14)(64bit) is needed by mysql-community-client-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by mysql-community-client-5.7.28-1.el7.x86_64
	libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by mysql-community-client-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.14)(64bit) is needed by mysql-community-libs-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by mysql-community-libs-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.14)(64bit) is needed by mysql-community-libs-compat-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by mysql-community-libs-compat-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.14)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.15)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.16)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libnuma.so.1()(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libsasl2.so.3()(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by mysql-community-server-5.7.28-1.el7.x86_64
	systemd is needed by mysql-community-server-5.7.28-1.el7.x86_64

提示这个咋办?别急

红帽安装rpm安装MySQL时爆出警告: 警告:MySQL-server-5.5.46-1.linux2.6.x86_64.rpm: 头V3 DSA/SHA1 Signature, 密钥 ID 5072e1f5: NOKEY 原因:这是由于yum安装了旧版本的GPG keys造成的 解决办法:后面加上 --force --nodeps 如: rpm -ivh MySQL-server-5.5.46-1.linux2.6.x86_64.rpm --force --nodeps 从 RPM 版本 4.1 开始,在安装或升级软件包时会检查软件包的签名

原因:这是由于yum安装了旧版本的GPG keys造成的
解决办法:后面加上–force --nodeps

[root@node1 apps]# rpm -ivh mysql-community-* --force --nodeps
warning: mysql-community-client-5.7.28-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                ########################################### [100%]
   1:mysql-community-common ########################################### [ 20%]
   2:mysql-community-libs   ########################################### [ 40%]
   3:mysql-community-client ########################################### [ 60%]
   4:mysql-community-server ########################################### [ 80%]
   5:mysql-community-libs-co########################################### [100%]

大功告成

标签:SHA1,x86,5.7,28,community,64,mysql,el7
来源: https://blog.csdn.net/manba_yqq/article/details/122263575