http://mirrors.163.com/centos/6/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn‘t resolve host ‘mirrors.163.com‘"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
实际上是DNS问题
vi /etc/resolv.conf
nameserver 221.130.33.52
nameserver 168.95.1.1
yum update
解决
转载于:https://blog.51cto.com/linux1990/1701809
解决centos yum源配置出现Couldn't resolve host 问题
原文地址:https://www.cnblogs.com/jasonLiu2018/p/12558046.html
时间: 2024-11-05 17:29:38