ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

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

2021-12-31 23:31:49  阅读:703  来源: 互联网

标签:SHA1 x86 5.7 28 community 64 mysql el7


在这里插入图片描述

[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

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有