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:
... still having the problem.
Any ideas?
For me what ended up fixing it was this:
rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v
Then rerunning yum command I was trying to run in the first place.
It got stuck for about a minute on:
Determining fastest mirrors
...but then it completed without errors
Suggested Here
Worked for me : (+)
Edit the following file.
/etc/yum/pluginconf.d/fastestmirror.conf
Change enabled=1
to enabled=0
to disable the fastestmorror plugin.
That should fix it.
You don't need to restart anything for that change to take effect. Just run yum again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With