是由于DNS解析错误引起的
修改/etc/resolv.conf
添加一个nameserver 8.8.8.8完成
yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
原文:http://www.cnblogs.com/lqbu/p/6374481.html