Versions
- CentOS 6.3
Overview
Ran into problems tonight after working installs of Hadoop of different versions where the yum installer would try to download the incorrect version. Required cleaning yum’s caches AND manually deleting the yum cache for the repo in /var/cache/yum.
Guide
- Remove the repo
Note
replace $REPONAME below with the name of the repo to clear 1sudo rm /etc/yum.repos.d/$REPONAME.repo - Clean all
1sudo yum clean all
- Delete the yum cache for the repo
1sudo rm -rf /var/cache/yum/x86_64/6/$REPONAME