美文网首页
YUM 报错解决集

YUM 报错解决集

作者: 高机动老王 | 来源:发表于2018-01-11 09:20 被阅读539次

报如下信息

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was

14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Unknown error"

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

Loading mirror speeds from cached hostfile

请在/etc/resolv.conf里加上

search 10.32.109.221

nameserver 10.156.12.202

相关文章

网友评论

      本文标题:YUM 报错解决集

      本文链接:https://www.haomeiwen.com/subject/gqpanxtx.html