📖 ~1 min read
Table of contents
Symptom & Impact
dnf module enable or install aborts and blocks security updates for the affected application stream.
Environment & Reproduction
Triggered after upgrading from older module stream or mixing AppStream and EPEL Modular content.
Root Cause Analysis
Active stream pins packages to a version set incompatible with the requested target stream profile.
Quick Triage
Check enabled streams with dnf module list –enabled and inspect /etc/dnf/modules.d for stale state.
Step-by-Step Diagnosis
Run: sudo dnf module list ; sudo dnf module info :; sudo dnf repoquery –duplicates.

Solution – Primary Fix
Run: sudo dnf module reset -y; sudo dnf module enable : -y; sudo dnf distro-sync -y.
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
Pin the desired stream in /etc/dnf/modules.d, or remove EPEL Modular if it shadows AppStream content.
Verification & Acceptance Criteria
dnf module list shows only the intended enabled stream and dnf upgrade completes without conflicts.
Rollback Plan
Restore /etc/dnf/modules.d backup and reinstall the original stream with module reset and enable.
Prevention & Hardening
Document approved module streams per host role and audit changes via dnf history before applying.
Related Errors & Cross-Refs
Often paired with broken dependency errors and conflicting requests during distro-sync.
Related tutorial: View the step-by-step tutorial for centos-stream-10.
View all centos-stream-10 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Red Hat AppStream docs and dnf-plugin-modulesync release notes.
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.