π ~1 min read
Table of contents
Symptom & Impact
dnf reports modular dependency conflicts when installing runtime stacks on RHEL 9.
Environment & Reproduction
Run `dnf module list –enabled` to identify active streams that may override package versions.
Root Cause Analysis
Use `dnf repoquery` to compare candidate versions across BaseOS and AppStream repositories.
Quick Triage
Check update automation with `systemctl status dnf-automatic.service` if enabled.
Step-by-Step Diagnosis
Read conflict details in `/var/log/dnf.log` and correlated timeline entries from `journalctl`.

Solution – Primary Fix
Save module state output and `.repo` files before stream changes.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Confirm repository mirrors are reachable and TLS inspection devices are not rewriting metadata.
Verification & Acceptance Criteria
SELinux rarely causes module conflicts, but verify no AVC denials on custom repo content paths.
Rollback Plan
Run `sudo dnf module reset ` then `sudo dnf module enable :` and retry install.
Prevention & Hardening
Confirm `dnf install` succeeds and `rpm -q` reports expected package versions.
Related Errors & Cross-Refs
Document approved streams per environment and lock them in provisioning playbooks.
Related tutorial: View the step-by-step tutorial for rhel-9.
View all rhel-9 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Attach `dnf module list –enabled`, package transaction IDs, and full solver output.
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.