安装MySQL-server-5.5.62-1.el7.x86_64的时候出现依赖包错误
[root@localhost upload]# rpm -ivh MySQL-server-5.5.62-1.el7.x86_64.rpm
警告:MySQL-server-5.5.62-1.el7.x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID cd2efd2a: NOKEY
错误:依赖检测失败:
perl(Data::Dumper) 被 MySQL-server-5.5.62-1.el7.x86_64 需要
用yum安装perl提示已经安装
[root@localhost upload]# yum install -y perl
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
软件包 4:perl-5.16.3-286.el7.x86_64 已安装并且是最新版本
无须任何处理
网上查找资料得知需要安装的是autoconf
[root@localhost upload]# yum -y install autoconf
....
安装通过
[root@localhost upload]# rpm -ivh MySQL-server-5.5.62-1.el7.x86_64.rpm
警告:MySQL-server-5.5.62-1.el7.x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID cd2efd2a: NOKEY
准备中... ################################# [100%]
正在升级/安装...
1:MySQL-server-5.5.62-1.el7.x86_64-r################################# [100%]
|
请发表评论