πŸ“– ~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

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`.

Illustrative mockup for rhel-9 β€” rhel9-078-module-conflict.webp
Module stream conflict during dnf install β€” Illustrative mockup β€” Progressive Robot

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.

Illustrative mockup for rhel-9 β€” rhel9-078-module-reset.webp
Resetting and enabling correct AppStream module β€” Illustrative mockup β€” Progressive Robot

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.

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.