Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2152846

Summary: [RHEL-8] Broken dependencies: dnf-plugins-core
Product: Red Hat Enterprise Linux 8 Reporter: Pavel Holica <pholica>
Component: dnf-plugins-coreAssignee: Jan Kolarik <jkolarik>
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: unspecified Docs Contact: Mariya Pershina <mpershin>
Priority: high    
Version: 8.8CC: hongzliu, james.antill, jkolarik, juzhou, mbanas, mpershin, nsella, packaging-team-maint, pkis, smitterl
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-plugins-core-4.0.21-18.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 09:06:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Holica 2022-12-13 09:22:55 UTC
Description of problem:
dnf-plugins-core has broken dependencies in RHEL-8

Version-Release number of selected component (if applicable):
RHEL-8.8.0-20221213.0
python3-dnf-plugins-core-4.0.21-17.el8

Steps to Reproduce:
Run dnf repoclosure for mentioned packages

Actual results:
package: python3-dnf-plugins-core-4.0.21-17.el8.noarch from BaseOS
unresolved deps:
python3-distro


Expected results:
No broken dependencies

Additional notes:
This bug was generated by RTT semiautomatic reporting workflow

The problem is that the python3-distro is available in AppStream repository and not in BaseOS repository.

Although the BaseOS without AppStream repository is not strictly supported, this dependency issue prevents to perform any installation with just BaseOS repository as minimal installation crashes with following unresolved dependency error:

Error     
The following software marked for installation has errors. 
This is likely caused by an error with your installation source.     
 Problem 1: package dnf-plugins-core-4.0.21-17.el8.noarch requires python3-dnf- 
plugins-core = 4.0.21-17.el8, but none of the providers can be installed 
  - conflicting requests 
  - nothing provides python3-distro needed by python3-dnf-plugins- 
core-4.0.21-17.el8.noarch 
 Problem 2: package subscription-manager-1.28.34-1.el8.x86_64 requires dnf- 
plugin-subscription-manager = 1.28.34, but none of the providers can be 
installed 
  - package dnf-plugin-subscription-manager-1.28.34-1.el8.x86_64 requires 
python3-dnf-plugins-core, but none of the providers can be installed 
  - conflicting requests 
  - nothing provides python3-distro needed by python3-dnf-plugins- 
core-4.0.21-17.el8.noarch

Comment 4 Jan Kolarik 2022-12-13 09:29:36 UTC
This is probably the related commit causing this issue: https://github.com/rpm-software-management/dnf-plugins-core/commit/ecfff22ef3c028a2e70d5481a519663930ff3313.

Comment 5 Jan Kolarik 2022-12-16 06:12:56 UTC
Following PR was queued to fix this issue: https://github.com/rpm-software-management/dnf-plugins-core/pull/474.

Comment 7 Jaroslav Mracek 2023-01-02 13:28:46 UTC
The requirement for python3-distro was removed in upstream - https://github.com/rpm-software-management/dnf-plugins-core/pull/475 and there is a PR for RHEL8 downstream https://github.com/rpm-software-management/dnf-plugins-core/pull/474

Comment 8 Jan Kolarik 2023-01-02 15:25:17 UTC
*** Bug 2155418 has been marked as a duplicate of this bug. ***

Comment 17 errata-xmlrpc 2023-05-16 09:06: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 (dnf-plugins-core 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/RHBA-2023:2975