老街-新锦江公司77728415(在线客服微信)

老街-新锦江公司77728415(在线客服微信)

centos6 yum报错Loaded plugins。。。

[root@centos6 ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
1.修改插件的配置文件
# vi  /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 1 改为0,禁用该插件

2.修改yum的配置文件
# vi /etc/yum.conf
plugins=1 改为0,不使用插件

3.yum clean all
yum makecache

如果出现Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
修改/etc/yum.repos.d/epel.repo
enabled = 1 改为0,禁用该插件

yum update

centos6 yum报错Loaded plugins。。。.txt

发表评论:

Powered By Z-BlogPHP 1.6.7 Valyria