RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libsolv
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.0
Assignee: Jaroslav Mracek
QA Contact: Eva Mrakova
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2020-04-28 16:55:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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.
[...]
Error: 
 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
dnf-4.2.11-1.el8.noarch
dnf-plugins-core-4.0.10-1.el8.noarch
libdnf-0.35.5-1.el8.x86_64
librepo-1.10.6-1.el8.x86_64
libsolv-0.7.7-1.el8.x86_64

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.

https://access.redhat.com/errata/RHBA-2020:1857


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