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

Tru Huynh tru at pasteur.fr
Thu Oct 24 21:10:07 UTC 2013


On Thu, Oct 24, 2013 at 09:06:13AM +0200, Nicolas BOSC wrote:
> Indeed the "IP" on the search line is not correct.
> 
> If I add the 192, nothing changes.
it should be something like:
search univ-orleans.fr
or
search my.local.lan
if your IT has defined it for 192.168.x.y
> If I remove this line, it comes
> back after I reboot. Even if I remove Networkmanager, it comes
> back...
that's expected if your private non routable network if managed by a dhcp server.
Check:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/var/lib/dhclient/dhclient-eth0.leases 

What does:
$ ip  -f inet6 addr show eth0
Just to be sure that you don't have ipv6 enabled ;)

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:tru at pasteur.fr | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  


More information about the Yum mailing list