warning: MySQL-server-5.5.48-1.linux2.6.i386.rpm: Header V3 DSA/SHA1 Signatu

CentOS rpm安装Mysql时出现这样的错误:

warning: MySQL-server-5.5.48-1.linux2.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
/usr/bin/perl is needed by MySQL-server-5.5.481.linux2.6.x86_64

原因:这是由于yum安装了旧版本的GPG keys造成的

解决办法:
命令后面跟上 - -force - -nodeps

rpm -ivh MySQL-server-5.5.48-1.linux2.6.i386.rpm --force --nodeps

过程如下

[root@Bigdata opt]# rpm -ivh MySQL-server-5.5.48-1.linux2.6.i386.rpm 
warning: MySQL-server-5.5.48-1.linux2.6.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
	libaio.so.1 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.0) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.1) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.1.2) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.1.3) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.2) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.2.3) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.3) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libc.so.6(GLIBC_2.3.3) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libcrypt.so.1 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libcrypt.so.1(GLIBC_2.0) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libdl.so.2 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libdl.so.2(GLIBC_2.0) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libdl.so.2(GLIBC_2.1) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libm.so.6 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libm.so.6(GLIBC_2.0) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libm.so.6(GLIBC_2.1) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libpthread.so.0 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libpthread.so.0(GLIBC_2.0) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libpthread.so.0(GLIBC_2.1) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libpthread.so.0(GLIBC_2.2) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	libpthread.so.0(GLIBC_2.3.2) is needed by MySQL-server-5.5.48-1.linux2.6.i386
	librt.so.1 is needed by MySQL-server-5.5.48-1.linux2.6.i386
	librt.so.1(GLIBC_2.2) is needed by MySQL-server-5.5.48-1.linux2.6.i386
[root@Bigdata opt]# rpm -ivh MySQL-server-5.5.48-1.linux2.6.i386.rpm --force --nodeps
warning: MySQL-server-5.5.48-1.linux2.6.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [100%]

END $

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值