Re: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
"Nicolas BOSC" <[email protected]> Wed, 23 Oct 2013 15:34:37 +0200
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
@ Zdenek: [root@192 nico]# curl 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os' curl: (6) Couldn't resolve host 'mirrorlist.centos.org' [root@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@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@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 <[email protected]> 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 > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum