π ~1 min read
Table of contents
Symptom & Impact
dnf cannot find packages because expected RHEL 9 repos are no longer enabled.
Environment & Reproduction
Run `subscription-manager status` and `subscription-manager repos –list-enabled`.
Root Cause Analysis
Ensure `subscription-manager` and `rhsm-certificates` packages are current.
Quick Triage
Check related refresh timers and management agents that may alter repo entitlement state.
Step-by-Step Diagnosis
Inspect `journalctl` and rhsm logs for entitlement refresh or certificate issues.

Solution – Primary Fix
Backup `/etc/yum.repos.d/redhat.repo` and entitlement metadata before repair.
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
Verify access to subscription endpoints through proxies and firewalld egress controls.
Verification & Acceptance Criteria
Check for denials if custom scripts write entitlement files in restricted directories.
Rollback Plan
Refresh registration, reattach subscriptions, and enable required repos with subscription-manager.
Prevention & Hardening
Run `dnf repolist` and confirm package installation works from expected channels.
Related Errors & Cross-Refs
Monitor repo state drift and pin entitlement policies in lifecycle management.
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
Provide rhsm logs, repo list output, and account entitlement details.
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.