For anyone who is experiencing this problem, I would NOT recommend a glibc rollback. A change to the hosts line in /etc/nsswitch.conf fixed the issue: #hosts: files nisplus dns hosts: files dns >Hello Everyone, > >While this has been mentioned a few times on this list (it seems most >recently here: > >https://lists.dulug.duke.edu/pipermail/yum/2006-April/008558.html > >), I was not able to find the solution or "official" cause of the trouble. > >Here is the problem: > >----------------------------------------------------------------------------------------------------------------- >[root@www ~]# yum update >Repository updates-released is listed more than once in the configuration >Repository base is listed more than once in the configuration >Setting up Update Process >Setting up repositories >http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml: >[Errno 4] IOError: <urlopen error (2, 'No such file or directory')> >Trying other mirror. >Cannot open/read repomd.xml file for repository: base >failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try. >Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors >to try. >[root@www ~]# >----------------------------------------------------------------------------------------------------------------- > >In addition to yum, the following programs are BROKEN: > >wget, links, (howver lynx seems to work, perhaps because I built it from >source) > >[root@www ~]# which lynx >/usr/local/bin/lynx >[root@www ~]# which links >/usr/bin/links >[root@www ~]# which wget >/usr/bin/wget >[root@www ~]# > > >It has been previously suggested the updating glibc to version 2.3.6-3 may >be the cause and that rolling that update back clears the issue up--however >thats not an option for us. The trouble started right around the time that >this upgrade happened. > >A previous post requested the following tests be run: > > >[root@www ~]# wget >"http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml" >--12:24:41-- >http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml > => `repomd.xml.2' >Resolving mirrors.kernel.org... failed: No such file or directory. >[root@www ~]# > > > >[root@www ~]# wget wget --inet6-only >http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml >--12:03:38-- http://wget/ > => `index.html' >Resolving wget... failed: Name or service not known. >--12:03:38-- >http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml > => `repomd.xml.1' >Resolving mirrors.kernel.org... failed: Name or service not known. > >FINISHED --12:03:38-- >Downloaded: 0 bytes in 0 files >[root@www ~]# > > > >[root@www ~]# wget wget --inet4-only >http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml >--12:17:36-- http://wget/ > => `index.html' >Resolving wget... failed: Name or service not known. >--12:17:36-- >http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml > => `repomd.xml.1' >Resolving mirrors.kernel.org... 204.152.191.39, 204.152.191.7 >Connecting to mirrors.kernel.org|204.152.191.39|:80... connected. >HTTP request sent, awaiting response... 200 OK >Length: 1,140 (1.1K) [text/xml] > >100%[=================================================================================================================>] >1,140 --.--K/s > >12:17:36 (12.64 MB/s) - `repomd.xml.1' saved [1140/1140] > > >FINISHED --12:17:36-- >Downloaded: 1,140 bytes in 1 files >[root@www ~]# > > >(Note normal wget fails, that ipv4 works, and that ipv6 does not) > > >It was suggested that correct settings in "/etc/nsswitch.conf" might also >fix the issue. Our file is dated Apr 26 2002, and contains the following: > >[root@www ~]# cat /etc/nsswitch.conf ># ># ># /etc/nsswitch.conf ># ># An example Name Service Switch config file. This file should be ># sorted with the most-used services at the beginning. ># ># The entry '[NOTFOUND=return]' means that the search for an ># entry should stop if the search in the previous entry turned ># up nothing. Note that if the search failed due to some other reason ># (like no NIS server responding) then the search continues with the ># next entry. ># ># Legal entries are: ># ># nisplus or nis+ Use NIS+ (NIS version 3) ># nis or yp Use NIS (NIS version 2), also called YP ># dns Use DNS (Domain Name Service) ># files Use the local files ># db Use the local database (.db) files ># compat Use NIS on compat mode ># hesiod Use Hesiod for user lookups ># [NOTFOUND=return] Stop searching if not found so far ># > ># To use db, put the "db" in front of "files" for entries you want to be ># looked up first in the databases ># ># Example: >#passwd: db files nisplus nis >#shadow: db files nisplus nis >#group: db files nisplus nis > >passwd: files nisplus >shadow: files nisplus >group: files nisplus > >#hosts: db files nisplus nis dns >hosts: files nisplus dns > ># Example - obey only what nisplus tells us... >#services: nisplus [NOTFOUND=return] files >#networks: nisplus [NOTFOUND=return] files >#protocols: nisplus [NOTFOUND=return] files >#rpc: nisplus [NOTFOUND=return] files >#ethers: nisplus [NOTFOUND=return] files >#netmasks: nisplus [NOTFOUND=return] files > >bootparams: nisplus [NOTFOUND=return] files > >ethers: files >netmasks: files >networks: files >protocols: files nisplus >rpc: files >services: files nisplus > >netgroup: files nisplus > >publickey: nisplus > >automount: files nisplus >aliases: files nisplus > > > > >If bad settings in /etc/nsswitch.conf this is infact the issue, please post >the settings that work. > > >[root@www ~]# rpm -qa | grep yum >yum-2.4.1-1.fc4 >[root@www ~]# > > >We are running Fedora Core 4. Any help is greatly appreciated. > > >-John > > >_______________________________________________ >Yum mailing list >Yum@xxxxxxxxxxxxxxxxxxxx >https://lists.dulug.duke.edu/mailman/listinfo/yum