π ~1 min read
Table of contents
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

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

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 Errors & Cross-Refs
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.