π ~1 min read
Table of contents
Symptom & Impact
Package searches and updates show outdated results, which delays patching and creates dependency confusion.
Environment & Reproduction
Observed on Oracle Linux 10 servers using mirrored repositories or proxy cache layers.
cat /etc/os-release
dnf repolist
dnf check-update
Root Cause Analysis
Expired metadata, inconsistent mirror sync, or sticky proxy cache responses can present stale indexes.
Quick Triage
Check cache state and active repository behavior quickly.
dnf clean metadata
dnf makecache
dnf repoinfo
Step-by-Step Diagnosis
Confirm metadata freshness and compare package visibility after refresh operations.
dnf clean all
dnf makecache --refresh
dnf list --showduplicates openssl

Solution – Primary Fix
Refresh cache and apply updates from healthy repositories.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
dnf clean all
dnf makecache --refresh
dnf upgrade -y

Solution – Alternative Approaches
Use internal mirror pinning or disable unstable repositories temporarily.
dnf config-manager --set-disabled unstable-repo
dnf config-manager --set-enabled ol10_baseos_latest
Verification & Acceptance Criteria
Current package versions appear and transactions resolve without stale metadata errors.
dnf check-update
dnf info openssl
journalctl -u dnf-makecache --since '30 min ago'
Rollback Plan
Restore previous repository configuration if downstream tooling depends on prior snapshots.
cp -a /etc/yum.repos.d /etc/yum.repos.d.bak
dnf clean all
dnf makecache
Prevention & Hardening
Schedule metadata refresh and monitor mirror health continuously.
systemctl status dnf-makecache.timer
systemctl enable --now dnf-makecache.timer
Related Errors & Cross-Refs
Commonly overlaps with entitlement drift, GPG key errors, and proxy timeout failures.
Related tutorial: View the step-by-step tutorial for oracle-linux-10.
View all oracle-linux-10 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Oracle Linux DNF repository and lifecycle documentation.
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.