【问题标题】:Missing multiple perl dependencies缺少多个 perl 依赖项
【发布时间】:2023-03-28 17:46:01
【问题描述】:

我正在尝试使用他们的官方说明here 安装 perfSONAR。 当我运行yum install perfSONAR-Bundles-Complete 时,我收到了许多如下错误:

Error: Package: perl-perfSONAR_PS-Toolkit-ntp-3.5.0.5-1.pSPS.noarch (Internet2)
           Requires: perl(Params::Validate)
Error: Package: perl-perfSONAR_PS-Toolkit-3.5.0.5-1.pSPS.noarch (Internet2)
           Requires: perl(Template)
Error: Package: perl-perfSONAR-graphs-3.5.0.1-1.pSPS.noarch (Internet2)
           Requires: perl(Data::UUID)
Error: Package: perl-perfSONAR_PS-RegularTesting-3.5-1.pSPS.noarch (Internet2)
           Requires: perl(Data::UUID)
Error: Package: perl-perfSONAR_PS-Toolkit-Library-3.5.0.5-1.pSPS.noarch (Internet2)
           Requires: perl(Params::Validate)
Error: Package: perl-perfSONAR_PS-LSCacheDaemon-3.4.2-1.pSPS.noarch (Internet2)
           Requires: perl(Params::Validate)
Error: Package: perl-perfSONAR_PS-RegularTesting-3.5-1.pSPS.noarch (Internet2)
           Requires: perl(Module::Load)
Error: Package: perl-DateTime-Format-ISO8601-0.07-7.el6.noarch (epel)
           Requires: perl(DateTime)

Perl 版本:

# perl --version
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

存储库:

# yum repolist
Loaded plugins: changelog, priorities, ps, security
repo id                     repo name                                                              status
Internet2                   Internet2 RPM Repository - software.internet2.edu - main                 333
epel                        Extra Packages for Enterprise Linux 6 - x86_64                         11796
epel-debuginfo              Extra Packages for Enterprise Linux 6 - x86_64 - Debug                  2216
epel-source                 Extra Packages for Enterprise Linux 6 - x86_64 - Source                    0
repolist: 17413

我在 RHEL 6 机器上运行它。

问题:我需要做什么来解决上面列出的许多 perl 依赖问题?

【问题讨论】:

  • 您是否按照指南所说的添加了 EPEL 发布包?
  • 我已经用 repolist 更新了问题。
  • 我对红帽包装不是很熟悉,但它看起来像是通过 yum 以外的其他机制安装了 perl。在这种情况下,您需要在做任何事情之前弄清楚为什么
  • 感谢您的评论。如果我执行“yum install perl”,它会报告Package 4:perl-5.10.1-141.el6.x86_64 already installed and latest version
  • 这是官方的perl包。 perfSONAR 的内容来自 Internet2 存储库,但根据说明,这是可以预期的(尽管这些软件包可能不应该标记为 el6)。问题是应该提供像perl(Params::Validate)perl(Module::Load) 这样的东西,而这两个至少是由CentOS 本身提供的perl 软件包提供的。您似乎缺少正常的 CentOS 基础和更新存储库。 /etc/yum.repos.d 中有哪些文件? rpm -q centos-release 报告什么?您的 CentOS 安装似乎有些失败。

标签: perl dependencies yum rhel6


【解决方案1】:

感谢@Etan Reisner 的提示,让我朝着正确的方向前进。

RHEL 6 安装缺少它的基本存储库。我选择添加 centos 基础存储库,因为这正是 perfSONAR 所期望的。虽然这可能不是*最好的解决方案,但它能够解决我的问题。

将以下内容复制到/etc/yum.repos.d/centos.repo

[centos]
name=CentOS $releasever - $basearch
baseurl=http://ftp.heanet.ie/pub/centos/6/os/$basearch/
enabled=1
gpgcheck=0

然后执行 yum clean all 并且 yum install perfSonar 工作!

【讨论】:

    猜你喜欢
    • 2020-01-06
    • 2017-12-25
    • 2015-04-18
    • 2020-03-24
    • 2012-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多