【问题标题】:Has anyone figured out how to install `moreutils` on Centos8?有人知道如何在 Centos8 上安装 `moreutils` 吗?
【发布时间】:2021-10-19 17:54:28
【问题描述】:

有人知道如何在 Centos8 上安装 moreutils 吗?

我收到此错误:

[root@default-bento-centos-8 vagrant]# dnf install moreutils
Last metadata expiration check: 0:19:17 ago on Tue 17 Aug 2021 08:27:50 PM UTC.
Error:
 Problem: conflicting requests
  - nothing provides perl(IPC::Run) needed by moreutils-0.63-1.el8.x86_64
  - nothing provides perl-IPC-Run needed by moreutils-0.63-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
  
[root@default-bento-centos-8 vagrant]# dnf -y --enablerepo=PowerTools install moreutils
Error: Unknown repo: 'PowerTools'

我同时安装了 epel-releaseperl 软件包。

【问题讨论】:

    标签: centos8 moreutils


    【解决方案1】:

    启用 repo 参数区分大小写,并且 powertools 需要完全小写而不是 Pascal 大小写。

    这行得通:

    dnf install epel-release -y
    dnf --enablerepo=powertools install moreutils -y
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-23
      • 2013-11-01
      • 2021-12-30
      • 2011-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-05
      相关资源
      最近更新 更多