How to disable fastestmirror in centos server

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

How to disable fastestmirror in centos server

Post by a24uall »

Getting the below error while running yum update
[email protected] [/usr/local/src]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 345, in doCommands
self._getTs(needTsRemove)
Solution :
DISABLE fastestmirror and try
vi /etc/yum/pluginconf.d/fastestmirror.conf
Change the value of "enabled" to 0
enabled = 0
Arun
WebhostingDevelopment.com
Post Reply

Return to “Yum Errors”