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

2022/1/1 2:07:19

本文主要是介绍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%]

大功告成



这篇关于MySQL 安装warning: mysql-community-libs-5.7.28-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程