Re: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
"Nicolas BOSC" <[email protected]> Thu, 24 Oct 2013 09:06:13 +0200
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Indeed the "IP" on the search line is not correct. If I add the 192, nothing changes. If I remove this line, it comes back after I reboot. Even if I remove Networkmanager, it comes back... Le Wed, 23 Oct 2013 20:56:02 +0200, Paul Howarth <[email protected]> a écrit: > On Wed, 23 Oct 2013 14:57:06 +0200 > "Nicolas BOSC" <[email protected]> wrote: > >> 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 > > That IP address seems to missing the leading "192.", which explains why > you can't resolve any addresses. > > Paul. > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum -- _____________________ 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