PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
"Nicolas BOSC" <[email protected]> Wed, 23 Oct 2013 14:57:06 +0200
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone! Recently, I have noticed I can not use the yum command anymore. Here the kind of error: 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'" Error: Cannot find a valid baseurl for repo: base However, I can ping the domain: ping mirrorlist.centos.org PING mirrorlist.centos.org (64.235.47.134) 56(84) bytes of data. 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=1 ttl=48 time=155 ms 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=2 ttl=48 time=155 ms 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=3 ttl=48 time=156 ms 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=4 ttl=48 time=154 ms 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=5 ttl=48 time=154 ms 64 bytes from lasvegas-nv-datacenter.com (64.235.47.134): icmp_seq=6 ttl=48 time=154 ms ^C --- mirrorlist.centos.org ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5487ms rtt min/avg/max/mdev = 154.783/155.402/156.818/0.847 ms I also tried yum update, yum search but I always get the same error. My /etc/resolv.conf is: # Generated by NetworkManager search 168.11.218 nameserver ............. nameserver ............. The "search" line sound weird to me, because this does not look like an IP adress. Both nameserver are the DNS of my University. ifconfig returns: eth0 Link encap:Ethernet HWaddr 9C:3B:E5:1D:95:F9 inet adr:192.168.11.218 Bcast:192.168.11.255 Masque:255.255.255.0 Here is the content of /etc/yum.conf: [main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=5 bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.or$ distroverpkg=centos-release Finally, there is no proxy set (to my knowledge, we do not use a proxy). Can anyone help me? Thank you Nicolas -- _____________________ PhD Student Structural Bioinformatics & Chemoinformatics Institut de Chimie Organique et Analytique (ICOA) UMR CNRS-Université d'Orléans 7311 Université d'Orléans Rue de Chartres F-45067 Orléans phone: +33 238 494 577 _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum