- CentOS 6.3
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.
- Remove the repo
replace $REPONAME below with the name of the repo to clearShell1sudo rm /etc/yum.repos.d/$REPONAME.repo
- Clean all
Shell1sudo yum clean all
- Delete the yum cache for the repo
Shell1sudo rm -rf /var/cache/yum/x86_64/6/$REPONAME