yum update错误Couldn't resolve host

前端之家收集整理的这篇文章主要介绍了yum update错误Couldn't resolve host前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
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

原文链接:https://www.f2er.com/bash/388652.html

猜你在找的Bash相关文章