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

Fajar A. Nugraha work at fajar.net
Wed Oct 23 13:13:54 UTC 2013


On Wed, Oct 23, 2013 at 7:57 PM, Nicolas BOSC
<nicolas.bosc at univ-orleans.fr>wrote:

> **
> yum install postgresql92 postgresql92-server postgresql92-contrib
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile 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 /etc/resolv.conf is:
>
> # Generated by NetworkManager
> search 168.11.218
> nameserver .............
> nameserver .............
>
>
I'd start by:
- running: curl -v "
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os"
- edit /etc/resolv.conf to remove the "search" line, and retry curl

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20131023/05fe504b/attachment.html>


More information about the Yum mailing list