CentOS: Error yum update File “/usr/bin/yum”, line 29, in ?

Error:

…… >> checking all the updates and settings the correct files for updating (no mirror problems!), then I get:
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 229, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 145, in main

Solution:

edit  /etc/yum/pluginconf.d/fastestmirror.conf

 vi /etc/yum/pluginconf.d/fastestmirror.conf

set enable=0

enable=0

Leave a Comment