warning: MySQL-server-5.5.48-1.linux2.6.i386.rpm: Header V3 DSASHA1 Signatu

it2023-07-03  66

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 $

最新回复(0)