在使用yum时报错Loaded plugins: fastestmirror
在我安装更高版本的gcc编译器时,发现了这个问题
意思是加载插件,加载后面两个插件,查阅得知其中fastestmirror是yum的一个加速插件,这个提示意思是这个插件不能使用,那么就先把他禁用了。
- 第一步:输入指令打开配置文件
sudo vim /etc/yum/pluginconf.d/fastestmirror.conf
1: /e/y/p/fastestmirror.conf ⮀ ⮂⮂ buffers
1 [main]
2 enabled=1
3 verbose=0
4 always_print_best_host = true
5 socket_timeout=3
6 # Relative paths are relative to the cachedir (and