Friday, August 31, 2012

Clearing Yum Cache

Yum caches the repositories' filelist.xml. If your metadata is somehow cached forever, you can easily refresh it by clearing it manually. The cache files are located at /var/cache/yum/. So simply remove the repo name directory and that should trigger yum to repopulate the cache.

# cd /var/cache/yum
# rm -rf <reponame>
# yum update

Note: this is applicable for Fedora and CentOS/Redhat operating systems.



  • Related Links Widget for Blogspot

No comments: