安装percona-toolkit.rpm时候报错:perl(Time::HiRes) is needed by percona-toolkit-2.2.16-1.noarch
Posted yyl6
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装percona-toolkit.rpm时候报错:perl(Time::HiRes) is needed by percona-toolkit-2.2.16-1.noarch相关的知识,希望对你有一定的参考价值。
1.安装percona-toolkit.rpm时候报错:
warning: percona-toolkit.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
perl(Time::HiRes) is needed by percona-toolkit-2.2.16-1.noarch
perl(Term::ReadKey) is needed by percona-toolkit-2.2.16-1.noarch
2原因分析:
缺少依赖包 perl-TermReadKey和 perl-Time-HiRes
3.解决办法:安装依赖包
①yum -y install perl-TermReadKey
② yum -y install perl-Time-HiRes
4.重新安装#rpm -ivh percona-toolkit.rpm
以上是关于安装percona-toolkit.rpm时候报错:perl(Time::HiRes) is needed by percona-toolkit-2.2.16-1.noarch的主要内容,如果未能解决你的问题,请参考以下文章