Description of problem: moreutils cannot be installed Version-Release number of selected component (if applicable): moreutils-0.63-1.el8.x86_64 How reproducible: Steps to Reproduce: 1. $ sudo dnf install moreutils Actual results: Last metadata expiration check: 0:02:14 ago on Sat 04 Apr 2020 06:35:11 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) Expected results: Package is installed
This doesn't seem to be an issue for me any more
it is an issue for me: https://bugzilla.redhat.com/show_bug.cgi?id=1833810
I solved the issue by following the *complete* installation instructions for EPEL: [root@740d544deb3b /]# dnf install epel-release ... Complete! [root@740d544deb3b /]# dnf install moreutils ... 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@740d544deb3b /]# dnf install 'dnf-command(config-manager)' ... Complete! [root@740d544deb3b /]# dnf config-manager --set-enabled PowerTools Failed to set locale, defaulting to C.UTF-8 [root@740d544deb3b /]# dnf install moreutils ... Complete! [root@740d544deb3b /]# See: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
(In reply to alex from comment #3) > I solved the issue by following the *complete* installation instructions for > EPEL: > > [root@740d544deb3b /]# dnf install epel-release > ... > Complete! > [root@740d544deb3b /]# dnf install moreutils > ... > 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@740d544deb3b /]# dnf install 'dnf-command(config-manager)' > ... > Complete! > [root@740d544deb3b /]# dnf config-manager --set-enabled PowerTools > Failed to set locale, defaulting to C.UTF-8 > [root@740d544deb3b /]# dnf install moreutils > ... > Complete! > [root@740d544deb3b /]# > > See: > > https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F What if I have: Requires: moreutils in spec file? Does this mean it is impossible to depend on moreutils from a package?
Don't listen to me (I'm an end user here :). I think moreutils is EPEL, which means to use it, you need to install EPEL "properly", which means enabling PowerTools (whatever they are). If you write a package that depends on moreutils, you depend "indirectly" on EPEL, so users of that package would also require enabling PowerTools. I think you can piece out an explanation out of: https://developers.redhat.com/blog/2018/11/15/introducing-codeready-linux-builder/ https://wiki.centos.org/FAQ/CentOS8#Where_is_the_CentOS_8_codeready-developer_equivalent_repo.3F But I haven't found a complete announcement explaining everything.
Ok, thanks. but I think this is still a bit strange. In centos7/epel7 moreutils was normally installable and I could require it from spec file. Now it seems this is impossible. I.e. my package that requires moreutils won't be installable unless user enables the powerTools repo but he/she will not know to do it from the error messages "- nothing provides" messages.
But thank you for your explanation I will go through the links to understand what happened :)