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
原文地址:https://www.cnblogs.com/yyl6/p/12048356.html
时间: 2024-11-05 22:35:16