Bug 2042489

Summary: dependencies of modular packages can conflict with defaults
Product: Red Hat Enterprise Linux 9 Reporter: Zdenek Veleba <zveleba>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jkonecny, jstodola
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-19 07:28:15 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 Zdenek Veleba 2022-01-19 15:36:59 UTC
Description of problem:
If during installation you try to install a module that depends on non-default
stream of another module the installation fails with conflict because the default
stream is also active.

Version-Release number of selected component (if applicable):
RHEL-9.0.0-20220111.1
anaconda 34.25.0.23-1.el9

How reproducible:
Always

Steps to Reproduce:
Start installation with following kickstart:
repo --name modilarity_repo --install --baseurl {TEST_REPO_URL}
%packages
# tr-modular:legacy depends on tr-dependency:10 but tr-dependency:20 is default stream
@tr-modular:legacy
%end
zerombr
clearpart --all --initlabel
autopart
timezone Europe/Prague --isUtc
keyboard us
lang en_US.UTF-8

Actual results:
Error in installer:
    Problems in request:
    Modular dependency problems with Defaults:

     Problem: module tr-modular:legacy:1:.noarch requires module(tr-dependency:10), but none of the providers can be installed
      - module tr-dependency:10:1:.noarch conflicts with module(tr-dependency) provided by tr-dependency:20:2:.noarch
      - module tr-dependency:20:2:.noarch conflicts with module(tr-dependency) provided by tr-dependency:10:1:.noarch
      - conflicting requests

    Some packages, groups or modules are broken, the installation will be aborted.

Expected results:
Installation finishes without problems,
@tr-modular:legacy and @tr-dependency:10 are installed

Comment 10 RHEL Program Management 2023-07-19 07:28:15 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.