CentOS yum upgrade, Error Loaded plugins: fastestmirror

本文提供了解决使用yum安装软件时fastestmirror插件导致的问题的方法,包括修改配置文件来禁用该插件。通过将enabled=1改为0,并将plugins=1改为0,或使用sed命令进行替换,可以解决安装过程中的速度慢或无法正常工作的问题。

大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件

处理办法就是禁用这个插件

方法两种


第一种(已实验成功)

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

把enabled=1改为0

vi /etc/yum.conf

把plugins=1改为0


第二种

yum>

sed -i "s/plugins=1/plugins=0" /etc/yum.conf

yum clean all


转载自:http://blog.youkuaiyun.com/motian06/article/details/17563097

sudo yum install -y centos-release-openstack-train Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo> [root@node24121243 admin]# sudo yum clean all Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo> [root@node24121243 admin]# sudo yum upgrade -y Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo> [root@node24121243 admin]# sudo yum install -y openstack-packstack Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo>
最新发布
09-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值