On Wed, 23 Oct 2013 14:57:06 +0200 "Nicolas BOSC" <nicolas.bosc@xxxxxxxxxxxxxxx> 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 Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum