Bug 1770116 - libsolv-0.7.7-1.el8 regression: "dnf builddep" tries to install packages from a non-active stream
Summary: libsolv-0.7.7-1.el8 regression: "dnf builddep" tries to install packages from...
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libsolv
Version: 8.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Jaroslav Mracek
QA Contact: Eva Mrakova
Depends On:
TreeView+ depends on / blocked
Reported: 2019-11-08 08:01 UTC by Petr Pisar
Modified: 2021-02-16 13:49 UTC (History)
2 users (show)

Fixed In Version: libdnf-0.38.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-04-28 16:55:30 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1677583 0 high CLOSED yum-builddep tries to install content from non-active stream 2021-03-01 14:58:40 UTC
Red Hat Product Errata RHBA-2020:1857 0 None None None 2020-04-28 16:55:32 UTC

Description Petr Pisar 2019-11-08 08:01:58 UTC
After upgrading libsolv from 0.7.4-3.el8 to 0.7.7-1.el8, "dnf builddep" on a spec file with a build-require on perl-generators fails like this:

# dnf builddep ~test/rhel/perl/perl.spec 
Last metadata expiration check: 0:04:26 ago on Fri 08 Nov 2019 08:49:28 AM CET.
Package perl-4:5.26.3-416.el8.x86_64 is already installed.
Package perl-generators-1.10-9.el8.noarch is already installed.
 Problem 1: cannot install the best candidate for the job
  - package perl-4:5.30.0-446.module+el8.2.0+4253+0855625b.x86_64 is excluded
 Problem 2: cannot install the best candidate for the job
  - package perl-generators-1.11-4.module+el8.2.0+4253+0855625b.noarch is excluded
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

But the offending packages belong to perl:5.24 stream that's not enabled:

# dnf module list --enabled perl
Last metadata expiration check: 0:06:48 ago on Fri 08 Nov 2019 08:49:28 AM CET.
Error: No matching Modules to list

This looks like a regression similar to bug #1677583. I have installed:

# rpm -q dnf dnf-plugins-core libdnf librepo libsolv

Comment 1 Jaroslav Mracek 2019-11-08 10:47:52 UTC
The solution is already in upstream - https://github.com/rpm-software-management/libdnf/commit/998a434c098c1929b11d9d3892f153292a4e9913. The patch is part of libdnf-0.37.2.

Comment 8 errata-xmlrpc 2020-04-28 16:55:30 UTC
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.


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