Introduction
If the cache is corrupted in yum or dnf it could cause failures with the update systems. Rebuilding the cache will address the issue.
Procedure
- Access your server via SSH as the root user
- On a RHEL 7 or earlier server, rebuild the yum cache with the following commands:
yum clean all
yum makecache
On a RHEL 8 or later server, rebuild the dnf cache with the following commands:
dnf clean all
dnf makecache
Comments
0 comments
Article is closed for comments.