Re: [問題] yum 無法連接

看板Linux作者 (gecer)時間6年前 (2018/04/05 21:38), 6年前編輯推噓0(003)
留言3則, 3人參與, 6年前最新討論串3/3 (看更多)
※ 引述《iflyinsky (加油!前進~)》之銘言: : Give you mine. Reference as below: : [google-chrome] : name=google-chrome : baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 : enabled=1 : gpgcheck=1 thanks 但是更改了以後 仍會帶出repodata/.... [root@ yum.repos.d]# yum clean all Loaded plugins: fastestmirror, langpacks Cleaning repos: google-chrome Cleaning up everything [root@ yum.repos.d]# yum repolist Loaded plugins: fastestmirror, langpacks google-chrome | 951 B 00:00:00 google-chrome/primary FAILED http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/primary.xml.gz: [Errno 14] curl#7 - "Failed to connect to 2404:6800:4008:800::200e: Network is unreachable" Trying other mirror. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.255.13.196 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1522935512.A.193.html ※ 編輯: gecer (111.255.13.196), 04/05/2018 21:40:25 ※ 編輯: gecer (111.255.13.196), 04/05/2018 21:55:41 ※ 編輯: gecer (111.255.13.196), 04/05/2018 21:56:54

04/05 22:03, 6年前 , 1F
在/etc/yum.conf的[main]底下加一行ip_resolve=4試試
04/05 22:03, 1F

04/05 23:03, 6年前 , 2F
try to close IPv6
04/05 23:03, 2F

04/06 17:03, 6年前 , 3F
it works!!!
04/06 17:03, 3F
文章代碼(AID): #1QnYRO6J (Linux)
討論串 (同標題文章)
文章代碼(AID): #1QnYRO6J (Linux)