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”

相关文章

查找全部容器的日志文件 $ sudo find /var/lib/docker/conta...
Linux日志文件中列属性的详细解析
在Linux系统中没有duf命令,如何有效地管理磁盘空间?
深入探讨EncryptPad在Linux操作系统中的功能和优势
原理和应用场景:Linux中ttyload工具的工作原理和实际用途
深度解析SELinux的三种策略类型