Affected versions: RHEL 10.0 RHEL 10.1

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Application installation fails due to incompatible module streams, delaying deployments.

Environment & Reproduction

Happens when multiple module streams are enabled accidentally.

dnf module list
dnf install nodejs

Root Cause Analysis

An older stream remains enabled and blocks resolution for required package versions.

Quick Triage

List enabled streams and package candidates.

dnf module list --enabled
dnf repoquery --requires nodejs

Step-by-Step Diagnosis

Inspect stream state and transaction solver output.

dnf -v module install nodejs:20
dnf history info last
Illustrative mockup for rhel-10 β€” module_conflict_diag
Module stream conflict output β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Reset conflicting stream and enable the required one.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

sudo dnf module reset nodejs -y
sudo dnf module enable nodejs:20 -y
sudo dnf install nodejs -y
Illustrative mockup for rhel-10 β€” module_stream_fix
Correct module reset and enable β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Pin package versions from an approved internal repository to avoid module switching.

dnf versionlock add nodejs*

Verification & Acceptance Criteria

Solver resolves dependencies and installation finishes successfully.

dnf list installed nodejs
node -v

Rollback Plan

Disable the new stream and return to previous package baseline.

sudo dnf module disable nodejs -y
sudo dnf history undo last -y

Prevention & Hardening

Define approved module streams and enforce through automation.

Related to broken dependencies, excluded packages, and mixed repository priorities.

Related tutorial: View the step-by-step tutorial for rhel-10.

View all rhel-10 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

RHEL modularity and AppStream management guidance.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.