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.
[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