如何修复 CentOS 5.5 更新依赖性?

如何修复 CentOS 5.5 更新依赖性?

它总是有这个问题。

--> Finished Dependency Resolution
perl-AnyEvent-5.240-1.el5.rf.noarch from rpmforge has depsolving problems
  --> Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package perl-
AnyEvent-5.240-1.el5.rf.noarch (rpmforge)

 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

我尝试安装 perl-AnyEvent-5.240-1.el5.rf.noarch.rpm

但它无法被修复。

[root@hosted-by pear]# rpm -ivh perl-AnyEvent-5.240-1.el5.rf.noarch.rpm 
error: Failed dependencies:
        perl(EV) >= 3.05 is needed by perl-AnyEvent-5.240-1.el5.rf.noarch
        perl(Guard) >= 1.02 is needed by perl-AnyEvent-5.240-1.el5.rf.noarch
        perl(JSON) >= 2.09 is needed by perl-AnyEvent-5.240-1.el5.rf.noarch
        perl(JSON::XS) >= 2.2 is needed by perl-AnyEvent-5.240-1.el5.rf.noarch
        perl(Net::SSLeay) >= 1.33 is needed by perl-AnyEvent-5.240-1.el5.rf.noarch

答案1

这听起来像是建议的修复http://mattdanger.net/2010/12/perl-net-ssleay-dependency-error-when-installing-memcached-with-yum/有助于。

但我不是 rpm 用户,所以要小心。

相关内容