微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

redhat – 在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 repos,虽然这个包来自repo rhel-6-6.2-server.

我实际上是在尝试安装munin-node,但它在同一个软件包上失败了.

解决方法

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

在做yum更新时我看到过类似的问题. (并且是yum更新而不是yum升级).

通常,这可以通过执行“yum update”,即“yum update perl”轻松解决,如果成功,则执行“yum update perl-Time-HiRes”

原文地址:https://www.jb51.cc/linux/397438.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐