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 1787908 - dnf treats identical package in two repositories (testing/stable) as conflicting request
Summary: dnf treats identical package in two repositories (testing/stable) as conflict...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dnf
Version: 8.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Jaroslav Mracek
QA Contact: Eva Mrakova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-05 12:01 UTC by Robert Scheck
Modified: 2020-11-04 01:53 UTC (History)
2 users (show)

Fixed In Version: dnf-plugins-core-4.0.15-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:52:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4510 0 None None None 2020-11-04 01:52:39 UTC

Description Robert Scheck 2020-01-05 12:01:21 UTC
Description of problem:
As of writing, epel-release-8-8.el8.noarch is currently in both, epel and epel-testing, due to recent stable push (and not all mirrors being up-to-date yet).

$ dnf download --releasever=8 --resolve --alldeps --enablerepo=epel --enablerepo=epel-testing --destdir=/tmp/epel8 --arch=x86_64,noarch epel-release
Last metadata expiration check: 0:17:12 ago on Sun Jan  5 12:40:05 2020.
Error in resolve of packages:
    epel-release-8-8.el8.noarch
    epel-release-8-8.el8.noarch

 Problem: cannot install both epel-release-8-8.el8.noarch and epel-release-8-8.el8.noarch
  - conflicting requests
$ 

Removal of '--enablerepo=epel-testing' works around this issue.

Version-Release number of selected component (if applicable):
yum-4.0.9.2-5.el8.noarch

How reproducible:
Always, see above.

Actual results:
dnf treats identical package in two repositories (testing/stable) as conflicting request.

Expected results:
dnf not treat identical packages in two repositories (testing/stable) as conflicting request.

Comment 1 Jaroslav Mracek 2020-01-15 18:26:02 UTC
I create a path (https://github.com/rpm-software-management/dnf-plugins-core/pull/382) that allows multiple packages with same NEVRA for download --resolve command.

CI-tests: https://github.com/rpm-software-management/ci-dnf-stack/pull/767

Comment 2 Robert Scheck 2020-03-25 01:12:07 UTC
Jaroslav, will RHEL 8.2 contain a fixed dnf/yum package? And if so, in which version?

Comment 3 amatej 2020-04-06 13:03:17 UTC
It will not, its set for RHEL 8.3.
Once there is a specific version the "Fixed In Version" field of this bz will be filled with appropriate nevra.

Thank you for patience.

Comment 10 errata-xmlrpc 2020-11-04 01:52:25 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 (yum bug fix and enhancement update), 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/RHEA-2020:4510


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