The package cannot be installed on epel8. [root@8457200df215 /]# yum install moreutils Failed to set locale, defaulting to C.UTF-8 Extra Packages for Enterprise Linux Modular 8 - x86_64 87 kB/s | 117 kB 00:01 Extra Packages for Enterprise Linux 8 - x86_64 1.9 MB/s | 6.5 MB 00:03 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)
Note that I, in fact, depend on moreutils in spec file, i.e. it is runtime require for a package I want to add into epel8 repos.
It seems it needs to be enabled by user: https://fedoraproject.org/wiki/EPEL. If the yum error message would say what to do, It would be fine but right now the behavior is not great.
I'm running CentOS Linux release 8.3.2011 and have the epel-release repo added/installed, but the issue is the same. [root@]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Last metadata expiration check: 1:26:27 ago on Wed 02 Jun 2021 03:49:10 PM CEST. epel-release-latest-8.noarch.rpm 39 kB/s | 22 kB 00:00 Package epel-release-8-10.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete! [root@]# yum install moreutils Last metadata expiration check: 1:27:31 ago on Wed 02 Jun 2021 03:49:10 PM CEST. 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)
"dnf config-manager --set-enabled powertools" fixed it. Sorry..
For future references, to install moreutils in EPEL8: # dnf install epel-release -y # dnf config-manager --set-enabled powertools # dnf install moreutils