Bug 2042489 - dependencies of modular packages can conflict with defaults
Summary: dependencies of modular packages can conflict with defaults
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 15:36 UTC by Zdenek Veleba
Modified: 2023-07-19 07:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-19 07:28:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-108736 0 None None None 2022-01-19 15:44:22 UTC

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.


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