[Yum] yum- no route to host error

Ashwini Dhiman ashwinidhiman at gmail.com
Mon Aug 17 06:37:32 UTC 2009


> I have set the proxy with full url under /etc/yum.conf file but i am getting
> the same error as "no route to the host "
>
> [root at srmhyd ~]# yum install glite-SE_dpm_mysql
> Setting up Install Process
> Setting up repositories
> http://linuxsoft.cern.ch/EGEE/gLite/R3.1/glite-SE_dpm_disk/sl4/i386/repodata/repomd.xml:
> [Errno 4] IOError: <urlopen error (113, 'No route to host')>

Are you able to open this url in your browser?
If yes, check if your shell knows your proxy i.e try exporting the
http_proxy variable through your bashrc file.
Put this in your /etc/bashrc file
http_proxy=http://<proxy>:<port>
ftp_proxy=http://<proxy>:<port>

I hope it helps. :-)

Regards,
Ashwini Dhiman


More information about the Yum mailing list