In RHEL, if your YUM cache has not been update over 2 weeks, then you will see the warning below:

You can solve this error by “yum makecache” or “yum makecache fast”.

Perhaps, you may met this error:

Because, DNS could not resolve
More details:

You can change your DNS from “” to “”:

And “makecache” agian:


1 thought on “Linux YUM: if your cache is too old”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.