关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

linux yum install xxx 报错:Loaded plugins: fastestmirror

发布时间:2023/8/21 13:30:37
香港云服务器

fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了。那我们先禁用插件即可使用yum了。

1.修改插件的配置文件

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

enabled = 1 #由1改为0,禁用该插件

2.修改yum的配置文件

vi /etc/yum.conf

plugins=1 #改为0,不使用插件

3.清除缓存并重新构建yum 源

yum clean all

yum clean dbcache

yum makecache