I had a similar problem before when after many frustrating hours, was the cause of a proxy setting in the env.<br><br>try env command and look for HTTP_PROXY environment variable.<br><br>If there is something there, then that maybe your problem.
<br><br>try unset that and rerun yum and see what happens.<br><br>another test is to try connect to an ftp server using terminal ftp client. That also throws error as it seems to read the same env varibles used to defin a proxy as yum does. The different is it provides better error message which helped me in the original situation.
<br><br>If it is the case, the next daunting task is to figure out what script is setting the env variable :D<br><br>also i think there are two env varibles one uppercase and one lowercase. <br><br>Hope that helps<br><br>
<div><span class="gmail_quote">On 2/14/06, <b class="gmail_sendername">Antonio Montagnani</b> <<a href="mailto:anto.montagnani@virgilio.it">anto.montagnani@virgilio.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Paul Howarth ha scritto / said the following    il giorno/on 13/02/2006<br>17:10:<br>> Antonio Montagnani wrote:<br>>> Antonio Montagnani wrote / ha scritto on /il 13/02/2006 09:49:<br>>><br>>>> Thomas Springer ha scritto / wrote  il / on 12/02/2006 22:11:
<br>>>><br>>>>> Am Sonntag, den 12.02.2006, 20:22 +0100 schrieb Antonio Montagnani:<br>>>>><br>>>>>> Tomorrow morning I will check the contents of /etc/yum.repo.d<br>>>>>> files and if corrupted I will copy from the working machine to the
<br>>>>>> router (it should be no problem): any other configuration file to<br>>>>>> check?<br>>>>>><br>>>>><br>>>>><br>>>>> Maybe an increased errlevel will reveal sth of interest:
<br>>>>> $ yum -d 9 -e 9 update<br>>>>> See yum manpage.<br>>>>><br>>>>><br>>>>> Thomas<br>>>>><br>>>><br>>>> yum -d 10 -e 10 update
<br>>>> Yum Version: 2.4.1<br>>>> COMMAND: yum -d 10 -e 10<br>>>> Installroot: /<br>>>> Setting up Update Process<br>>>> Setting up repositories<br>>>> Cannot find a valid baseurl for repo: updates-released
<br>>>> Error: Cannot find a valid baseurl for repo: updates-released<br>>>><br>>>> I checked also yum configuration files and they seem o.k.<br>>>> What about $basearch or $releasever broken?? how do I see their value??
<br>>>><br>>> I moved all *.repo files from working machine to my broken machine<br>>> and also yum.conf .<br>>> Results didn't change.<br>>><br>>> I made another test using only this base repo file :
<br>>><br>>> [base]<br>>> name=Fedora Core $releasever - $basearch - Base<br>>> baseurl=<a href="http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/">http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
</a><br>>><br>>> #mirrorlist=<a href="http://fedora.redhat.com/download/mirrors/fedora-core-$releasever">http://fedora.redhat.com/download/mirrors/fedora-core-$releasever</a><br>>><br>>> enabled=1<br>
>> gpgcheck=1<br>>> gpgkey=<a href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora</a><br>>><br>>> and I got this result:<br>>><br>>> yum -d 9 -e 9 update
<br>>> Yum Version: 2.4.1<br>>> COMMAND: yum -d 9 -e 9<br>>> Installroot: /<br>>> Setting up Update Process<br>>> Setting up repositories<br>>> Baseurl(s) for repo:<br>>> ['<a href="http://download.fedora.redhat.com/pub/fedora/linux/core/4">
http://download.fedora.redhat.com/pub/fedora/linux/core/4</a> /i386/os/']<br>>> <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repom">http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repom
</a><br>>> d.xml: [Errno 4] IOError: <urlopen error (2, 'No such file or<br>>> directory')><br>>> Trying other mirror.<br>>> Cannot open/read repomd.xml file for repository: base<br>>> failure: repodata/repomd.xml from base: [Errno 256] No more mirrors
<br>>> to try.<br>>> Error: failure: repodata/repomd.xml from base: [Errno 256] No more<br>>> mirrors to try.<br>>><br>>><br>>> Any hint?<br>><br>> Perhaps the broken machine has a proxy configured in the environment
<br>> or in /etc/yum.conf, and that proxy is broken?<br>><br>> Paul.<br>><br>This is my yum.conf file.I am surprised because the machine was running<br>fine until thursday night.How can I check if a proxy has been configured
<br>in the enviroment?<br>Please note that I am writing from my Home router that is a sister<br>machine of office's network...Yum and Yumex are running o.k.<br><br>[main]<br>cachedir=/var/cache/yum<br>debuglevel=2<br>logfile=/var/log/yum.log
<br>pkgpolicy=newest<br>distroverpkg=redhat-release<br>tolerant=1<br>exactarch=1<br>retries=20<br>obsoletes=1<br>gpgcheck=1<br>metadata_expire=1800<br><br># PUT YOUR REPOS HERE OR IN separate files named file.repo<br># in /etc/yum.repos.d
<br><br>--<br>Antonio<br><br>Skype: antoniomontag<br>=============================================================<br>Mail by Thunderbird 1.5 - Websurfing by Firefox 1.5<br>=============================================================
<br>Linux Fedora Core 4 on Home<br>Linux user number 362582<br><a href="http://www.linuxsaronno.net">http://www.linuxsaronno.net</a><br><a href="http://www.montagnani.org">http://www.montagnani.org</a><br><a href="http://www.campingmonterosa.com">
http://www.campingmonterosa.com</a><br>=============================================================<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: 
<a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>