[host]# rpm -Uvh mytop-1.6-4.el5.noarch.rpm
error: Failed dependencies:
perl(Term::ReadKey) >= 2.1 is needed by mytop-1.6-4.el5.noarch
[host]# ./perlmodver Term::ReadKey
Term::ReadKey: 2.30当此perl模块版本高于2.1时,为什么rpm无法安装mytop?
发布于 2012-08-03 09:00:44
因为您从CPAN安装了Term::ReadKey,而这些文件没有在RPM数据库中注册。
补救措施,安装perl-TermReadKey包:
# yum install perl-TermReadKey让包管理器工具为您解析RPM依赖关系:http://www.centos.org/docs/5/html/yum/
https://stackoverflow.com/questions/11787429
复制相似问题