Centos不知道干嘛yum upgrade出错了,如下:
分析了下,原因应该是fastestmirror这个作怪,只要把/etc/yum/pluginconf.d/fastestmirror.conf里的enabled值1改为0,禁用这东东,保存退出即可.
yum -y upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
...
分析了下,原因应该是fastestmirror这个作怪,只要把/etc/yum/pluginconf.d/fastestmirror.conf里的enabled值1改为0,禁用这东东,保存退出即可.