In Red Hat 7 / CentOS 7, you may need to clear your repository cache if you see the below message when using yum.
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
To clear your cache simply run the below.
1 2 3 4 5 6 7 | [root@bashful ~] # yum clean all Loaded plugins: fastestmirror, langpacks Repodata is over 2 weeks old. Install yum- cron ? Or run: yum makecache fast Cleaning repos: base epel extras updates Cleaning up everything Cleaning up list of fastest mirrors [root@bashful ~] # |
Be the first to comment