Unable to enable `satellite:el8` or `satellite-capsule:el8` module stream for installing Red Hat Satellite/Capsule 6.11+

Solution Verified - Updated

Environment

  • Red Hat Satellite / Capsule 6.11 through 6.14
  • Red Hat Enterprise Linux 8

Issue

  • Following error observed while enabling satellite-capsule:el8 module stream in RHEL 8 for Red Hat Capsule 6.11 Installation:
 Problem 1: conflicting requests
 - nothing provides module(postgresql:12) needed by module satellite-capsule:el8:61120220803152113:50055556.x86_64
 - nothing provides module(ruby:2.7) needed by module satellite-capsule:el8:61120220803152113:50055556.x86_64
Problem 2: conflicting requests
 - nothing provides module(postgresql:12) needed by module satellite-capsule:el8:61120220728160018:42de19cd.x86_64
 - nothing provides module(ruby:2.7) needed by module satellite-capsule:el8:61120220728160018:42de19cd.x86_64
Problem 3: conflicting requests
 - nothing provides module(postgresql:12) needed by module satellite-capsule:el8:61120220801133843:50055556.x86_64
 - nothing provides module(ruby:2.7) needed by module satellite-capsule:el8:61120220801133843:50055556.x86_64
Problem 4: conflicting requests
 - nothing provides module(postgresql:12) needed by module satellite-capsule:el8:61120220629010503:1baa59ab.x86_64
 - nothing provides module(ruby:2.7) needed by module satellite-capsule:el8:61120220629010503:1baa59ab.x86_64
  • Following error observed while enabling satellite:el8 module stream in RHEL 8 for Red Hat Satellite 6.14 Installation:
 Problems in request:
 Modular dependency problems with Defaults:

  Problem 1: module satellite:el8:61420240425202619:dcc28186.x86_64 from satellite-6.14-for-rhel-8-x86_64-rpms requires module(postgresql:12), but none of the providers can be installed
   - module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:8060020220525083017:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms
   - module postgresql:10:8060020220525083017:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
      .
      .
  - module postgresql:12:8050020211122082354:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:8060020220525083017:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms
  - conflicting requests
 Problem 2: module satellite:el8:61420240326153544:f8cedd7c.x86_64 from satellite-6.14-for-rhel-8-x86_64-rpms requires module(postgresql:12), but none of the providers can be installed
  - module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:820190104140132:9edba152.x86_64 from rhel-8-for-x86_64-appstream-rpms
  - module postgresql:10:820190104140132:9edba152.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
.
.
  - module postgresql:12:8050020211122082354:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:820190104140132:9edba152.x86_64 from rhel-8-for-x86_64-appstream-rpms
  - conflicting requests
.
.
 Problem 8: module satellite:el8:61420231031180859:a1d71636.x86_64 from satellite-6.14-for-rhel-8-x86_64-rpms requires module(postgresql:12), but none of the providers can be installed
  - module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:8080020230720123941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
  - module postgresql:10:8080020230720123941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
.
.
  - module postgresql:12:8050020211122082354:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:10) provided by postgresql:10:8080020230720123941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
  - conflicting requests

Resolution

  • Refer to the Diagnostic Steps section of the article to confirm:

    • Whether postgresql and ruby module streams are enabled or not ( expected is that they won't be enabled ).
    • If found enabled, whether the expected version of the same is enabled or not.
  • If any discrepancy has been found, then execute the following commands to reset the applicable module streams:

    # dnf module reset postgresql
    # dnf module reset ruby
    

and then enable the satellite:el8 module if you are installing Red Hat Satellite 6.11 through 6.14:

# dnf module enable satellite:el8 postgresql:12 ruby:2.7

or the satellite-capsule:el8 module if you are installing Red Hat Capsule 6.11 through 6.14:

# dnf module enable satellite-capsule:el8 postgresql:12 ruby:2.7
  • If Problem *: conflicting requests has been found for pki-core, then execute the following commands to reset the applicable module streams and then enable pki-core module:

     # dnf module reset pki-core
     # dnf module enable pki-core
    
  • Reach out to This content is not included.Red Hat Technical Support in case of any further assistance will be required.

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Root Cause

  • The current state of the ruby and postgresql module streams raises conflict and prevents enabling the applicable module stream versions ( i.e. postgresql:12 and ruby:2.7 ) automatically while enabling the main satellite:el8 or satellite-capsule:el8 module stream.

Diagnostic Steps

  • It can be observed from the following output that both the postgresql:12 and ruby:2.7 module stream are not enabled.
# dnf module list
Name                 Stream       Profiles                     Summary    
...                                                                                        
postgresql           12           client, server [d]           PostgreSQL server and client module        
ruby                 2.7          common [d]                   An interpreter of object- oriented scripting language
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.