YUM 報(bào)錯(cuò)解決集

報(bào)如下信息

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

請?jiān)?etc/resolv.conf里加上

search 10.32.109.221

nameserver 10.156.12.202

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • centos-yum update問題-103 在centOs上安裝軟件時(shí)。提示報(bào)錯(cuò)信息: Could not r...
    宇文臭臭閱讀 2,823評論 1 0
  • Spring Cloud為開發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn),斷路器,智...
    卡卡羅2017閱讀 136,554評論 19 139
  • 1)備份原有的默認(rèn)yum源 [root@bastion-IDC ~]# cp /etc/yum.repos.d/C...
    SkTj閱讀 1,204評論 0 0
  • 背景 在安裝openshift origin時(shí),經(jīng)常會出提示無法下載某個(gè)包。 而通過手動yum install的時(shí)...
    秋刀魚雜記閱讀 652評論 0 1
  • 昨天,看了一部舊點(diǎn)的電影《那件瘋狂的小事叫愛情》,評分并不高,無聊的時(shí)候,打發(fā)下時(shí)間罷了,當(dāng)看到,謝霆鋒,站在海邊...
    閑著也是閑著lily閱讀 3,851評論 0 0

友情鏈接更多精彩內(nèi)容