作者gecer (gecer)
看板Linux
標題Re: [問題] yum 無法連接
時間Thu Apr 5 21:38:28 2018
※ 引述《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
→ idisnothing: 在/etc/yum.conf的[main]底下加一行ip_resolve=4試試 04/05 22:03
→ iflyinsky: try to close IPv6 04/05 23:03
→ gecer: it works!!! 04/06 17:03