[Yum] PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"

Nicolas BOSC nicolas.bosc at univ-orleans.fr
Wed Oct 23 13:34:37 UTC 2013


@ Zdenek:

[root at 192 nico]# curl  
'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os'
curl: (6) Couldn't resolve host 'mirrorlist.centos.org'
[root at 192 nico]# curl -4  
'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os'
http://mirror.ate.info/ftp.centos.org/6.4/os/x86_64/
http://mirror.ovh.net/ftp.centos.org/6.4/os/x86_64/
http://mirrors.atosworldline.com/public/centos/6.4/os/x86_64/
ftp://ftp.free.fr/mirrors/ftp.centos.org/6.4/os/x86_64/
http://centos.crazyfrogs.org/6.4/os/x86_64/
http://mirror.in2p3.fr/linux/CentOS/6.4/os/x86_64/
http://ftp.ciril.fr/pub/linux/centos/6.4/os/x86_64/
http://miroir.univ-paris13.fr/centos/6.4/os/x86_64/
http://mirrors.ircam.fr/pub/CentOS/6.4/os/x86_64/
http://centos.mirror.fr.planethoster.net/6.4/os/x86_64/

To my knowledge, I do not use a IPv6;

@ Fajar:

[nico at 192 ~]$ curl -v  
"http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os"
* getaddrinfo(3) failed for mirrorlist.centos.org:80
* Couldn't resolve host 'mirrorlist.centos.org'
* Closing connection #0
curl: (6) Couldn't resolve host 'mirrorlist.centos.org'

And after removing the search line the resolv.conf:

[root at 192 nico]# curl -v  
"http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os"
* getaddrinfo(3) failed for mirrorlist.centos.org:80
* Couldn't resolve host 'mirrorlist.centos.org'
* Closing connection #0
curl: (6) Couldn't resolve host 'mirrorlist.centos.org'

I also noticed I have the same error with rpm.

Thank you

Nicolas

Le Wed, 23 Oct 2013 15:19:48 +0200, Zdenek Pavlas <zpavlas at redhat.com> a  
écrit:

>> Could not retrieve mirrorlist
>> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
>> 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
>
> My wild bet is IPv6 breakage.. Does the following work?
>
> $ curl 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os'
> $ curl -4 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os'
>
> _______________________________________________
> Yum mailing list
> Yum at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum


More information about the Yum mailing list