Bug 1820925 - moreutils from epel8 not installable
Summary: moreutils from epel8 not installable
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: moreutils
Version: epel8
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Sven Lankes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-04 18:38 UTC by alex
Modified: 2020-05-14 17:24 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-27 12:14:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description alex 2020-04-04 18:38:12 UTC
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

Comment 1 alex 2020-04-27 12:14:02 UTC
This doesn't seem to be an issue for me any more

Comment 2 clime7 2020-05-10 19:25:17 UTC
it is an issue for me: https://bugzilla.redhat.com/show_bug.cgi?id=1833810

Comment 3 alex 2020-05-14 12:02:46 UTC
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

Comment 4 clime7 2020-05-14 16:50:54 UTC
(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?

Comment 5 alex 2020-05-14 17:03:21 UTC
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.

Comment 6 clime7 2020-05-14 17:23:39 UTC
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.

Comment 7 clime7 2020-05-14 17:24:39 UTC
But thank you for your explanation I will go through the links to understand what happened :)


Note You need to log in before you can comment on or make changes to this bug.