在RHEL6.2上安装perl-Time-HiRes会导致perl依赖性错误

当试图安装perl-Time-HiRes时,我得到以下内容:

host1:user1 > sudo yum install perl-Time-HiRes Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package perl-Time-HiRes.x86_64 4:1.9721-119.el6_1.1 will be installed --> Processing Dependency: perl = 4:5.10.1-119.el6_1.1 for package: 4:perl-Time-HiRes-1.9721-119.el6_1.1.x86_64 --> Finished Dependency Resolution Error: Package: 4:perl-Time-HiRes-1.9721-119.el6_1.1.x86_64 (rhel-6-6.2-server) Requires: perl = 4:5.10.1-119.el6_1.1 Installed: 4:perl-5.10.1-129.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) perl = 4:5.10.1-129.el6 Available: 4:perl-5.10.1-119.el6_1.1.x86_64 (rhel-6-6.2-server) perl = 4:5.10.1-119.el6_1.1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 

我不明白。 它似乎在寻找perl-5.10.1-129? 但是据我所知,最新的版本是perl-5.10.1-119。

我已经启用了EPEL回购协议,尽pipe这个软件包来自repo rhel-6-6.2-server

我实际上正在尝试安装munin-node ,但它在同一个包上失败。

这真的是一个评论,但我没有足够的分数…

进行yum更新时,我看到过类似的问题。 (这是百胜升级不是百胜升级)。

通常情况下,通过执行“yum update”(即“yum update perl”)就可以轻松解决这个问题,如果成功,执行“yum update perl-Time-HiRes”

正如@MichaelHampton发现的那样,我实际上使用了6.4,但是它被configuration为使用6.2回购(当我为服务器构build服务器时,猜测是一个错误)。 使用6.4回购工作得很好。