Hide Forgot
Description of problem: # yum-builddep libsolv-0.6.35-6.el8.src.rpm Error: Problem: cannot install the best candidate for the job - package perl-generators-1.10-7.module+el8+2464+d274aed1.noarch is excluded (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) # dnf module list perl rhel-AppStream Name Stream Profiles Summary perl 5.24 common [d], minimal Practical Extraction and Report Language perl 5.26 [d] common [d], minimal Practical Extraction and Report Language however that package is in 5.24 stream which is not enabled nor default # dnf module info perl:5.24 | grep perl-generators Repository beaker-client-testing is listed more than once in the configuration : perl-generators-0:1.10-7.module+el8+2464+d274aed1.noarch Version-Release number of selected component (if applicable): dnf-plugins-core-4.0.2.2-3.el8.noarch How reproducible: always Steps to Reproduce: see above Actual results: yum-builddep tries to install the content from non-active stream Expected results: only content from active streams is used, different package version gets installed
*** Bug 1665722 has been marked as a duplicate of this bug. ***
I create a pull request https://github.com/openSUSE/libsolv/pull/301 that change a logic for identification of a best candidate.
The patch was rejected by upstream
*** Bug 1678911 has been marked as a duplicate of this bug. ***
We will use a patch from Comment 2, because it is the only solution.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3583