centos6.5 执行

$yum install xxx

提示报错

Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

 

解决策略

vim /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 0

vim /etc/yum.conf
plugins=0

yum clean dbcache

 

Cannot retrieve metalink for repository: epel. Please verify its path and try again_vim

ok

 

 

 

持续更新