Yum error Time out while Loading fastestmirror

Yum is giving error Time out while Loading fastestmirror

While installing any application using yum getting time out error while loading fastest mirror. It seems that mirrors are not able to download the packages to the server as there is some network issue or any other issues. First check the below possibilities if there is a problem with yum rpm.

First check any process is using rpm database using the below command.

lsof | grep /var/lib/rpm

If you are getting any output then kill that process by giving the below command.

kill -9 PID

Now, Delete temporary DB files

rm -f /var/lib/rpm/__*

Rebuild the rpm database

rpm –rebuilddb -v -v



Comments are closed.