我是靠谱客的博主 彩色八宝粥,这篇文章主要介绍yum update错误Couldn't resolve host,现在分享给大家,希望可以做个参考。

复制代码
1
2
3
4
5
6
Loaded plugins: fastestmirror, security Setting up Update Process Determining fastest mirrors http://xxx.com:8050/Centos/6/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'xxx.com'" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

求助别人后修改了/etc/dnsmasq.conf和/etc/resolv.conf解决了
修改此配置之后需要重启dnsmasq进程: service dnsmasq restart

最后

以上就是彩色八宝粥最近收集整理的关于yum update错误Couldn't resolve host的全部内容,更多相关yum内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(64)

评论列表共有 0 条评论

立即
投稿
返回
顶部