I am using Fedora Core 5, and am behind a Squid proxy. I have set the http_proxy, ftp_proxy variables in /etc/profile as: export http_proxy="http://mmh3:mmh3@172.16.16.2:3128" export https_proxy="http://mmh3:mmh3@172.16.16.2:3128" export ftp_proxy="http://mmh3:mmh3@172.16.16.2:3128" export socks_proxy="http://mmh3:mmh3@172.16.16.2:3128"
My /etc/wgetrc looks like: #http_proxy = http://proxy.yoyodyne.com:18023/ #ftp_proxy = http://proxy.yoyodyne.com:18023/ use_proxy = on
Since the proxy variables are already set in /etc/profile I have not set them here. Moreover wget can successfully download files from the Internet.
My /etc/yum.conf looks like: [main] proxy=http://172.16.16.2 proxy_username=mmh3 proxy_password=mmh3 cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=0 plugins=1 metadata_expire=1800 timeout=7
However I get: [rishi@Sunflower ~]$ sudo yum list Loading "installonlyn" plugin Setting up repositories updates [1/4] http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/repod...: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror. Cannot open/read repomd.xml file for repository: updates failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try. [rishi@Sunflower ~]$
The same XML file http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/repod... can be successfully downloaded by wget and seen by Firefox. So why the error?
Regards, Debarshi
Debarshi 'Rishi' Ray wrote:
I am using Fedora Core 5, and am behind a Squid proxy. I have set the http_proxy, ftp_proxy variables in /etc/profile as: export http_proxy="http://mmh3:mmh3@172.16.16.2:3128" export https_proxy="http://mmh3:mmh3@172.16.16.2:3128" export ftp_proxy="http://mmh3:mmh3@172.16.16.2:3128" export socks_proxy="http://mmh3:mmh3@172.16.16.2:3128"
I am no expert, but should not there be a "/" after the proxy port? We also use squid proxy, and have been told that the "/" is essential.
sadhu
My /etc/wgetrc looks like: #http_proxy = http://proxy.yoyodyne.com:18023/ #ftp_proxy = http://proxy.yoyodyne.com:18023/ use_proxy = on
Since the proxy variables are already set in /etc/profile I have not set them here. Moreover wget can successfully download files from the Internet.
My /etc/yum.conf looks like: [main] proxy=http://172.16.16.2 proxy_username=mmh3 proxy_password=mmh3 cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=0 plugins=1 metadata_expire=1800 timeout=7
However I get: [rishi@Sunflower ~]$ sudo yum list Loading "installonlyn" plugin Setting up repositories updates [1/4] http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/repod...:
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror. Cannot open/read repomd.xml file for repository: updates failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try. [rishi@Sunflower ~]$
The same XML file http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/repod...
can be successfully downloaded by wget and seen by Firefox. So why the error?
Regards, Debarshi
also use squid proxy, and have been told that the "/" is essential.
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
I think that there is a problem with your dns server.