When trying to install a package using yum on Centos, the command is getting stuck at the first part:
loaded plugins: fastestmirror
I’ve tried:
- removing /var/cache/yum/timedhosts.txt See suggestion
- yum update yum
- making sure there are no other processes running and removing /var/run/yum.pid
- yum clean all See suggestion
- Checked that DNS works for all the servers in the /etc/yum.repos.d/*.repo files
- Set the enabled flag in vi /etc/yum/pluginconf.d/fastestmirror.conf // enabled=0 See Suggestion
… still having the problem.
Any ideas?
For me what ended up fixing it was this:
Then rerunning yum command I was trying to run in the first place.
It got stuck for about a minute on:
…but then it completed without errors
Suggested Here