大网数据广告活动
服务器运维问答

error while installing perl-Moose on red hat linux

· 52CE 我爱测

I am seeing the errors below while installing perl-moose using command yum install perl-Moose Can someone please help me with commands on how to install these dependencies? Thanks in advance Error: Package: perl-Moose-2.1005-1.el…

问题原文

原帖链接 · Santosh Pillai · CC BY-SA 4.0

I am seeing the errors below while installing perl-moose using command yum install perl-Moose

Can someone please help me with commands on how to install these dependencies? Thanks in advance

Error: Package: perl-Moose-2.1005-1.el7.x86_64 (epel)
           Requires: perl(Dist::CheckConflicts) >= 0.02
Error: Package: perl-Eval-Closure-0.08-4.el7.noarch (epel)
           Requires: perl(Sub::Exporter)
Error: Package: perl-Sub-Exporter-Progressive-0.001011-1.el7.noarch (epel)
           Requires: perl(Sub::Exporter)
Error: Package: perl-Moose-2.1005-1.el7.x86_64 (epel)
           Requires: perl(Sub::Exporter)
Error: Package: perl-Moose-2.1005-1.el7.x86_64 (epel)
           Requires: perl(Sub::Exporter) >= 0.980
Error: Package: perl-Devel-PartialDump-0.15-8.el7.noarch (epel)
           Requires: perl(Sub::Exporter)

My linux and Perl version is as below

NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"

This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux

已采纳解答

原帖链接 · Michael Hampton · CC BY-SA 4.0

The missing packages are in the RHEL optional channel, which you need to enable first.

subscription-manager repos --enable=rhel-7-server-optional-rpms

When using RHEL on AWS, enable it this way instead:

yum-config-manager --enable rhui-REGION-rhel-server-optional

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-05-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。