Red Hat Bugzilla – Bug 188103
yum and yumex fail with urlopen eror 2 no such file or directory
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run yum update
2. it fails
3. on fedora core 4 after last update
Setting up Update Process
Setting up repositories
[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.
it should spit out a bunch of messages like it normally does
Name : yum Relocations: (not relocatable)
Version : 2.4.1 Vendor: Red Hat, Inc.
Release : 1.fc4 Build Date: Mon 05 Dec 2005 08:09:17
Install Date: Fri 23 Dec 2005 06:46:00 PM PST Build Host:
Group : System Environment/Base Source RPM: yum-2.4.1-1.fc4.src.rpm
Size : 1249806 License: GPL
Signature : DSA/SHA1, Mon 12 Dec 2005 10:11:06 AM PST, Key ID b44269d04f2a6fd2
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://linux.duke.edu/yum/
Summary : RPM installer/updater
Yum is a utility that can check for and automatically download and
install updated RPM packages. Dependencies are obtained and downloaded
automatically prompting the user as necessary.
I think I found a work around.
It seems that after the last time I ran yum it upgraded my nsswitch.conf file.
It changed my hosts settings in that file to:
hosts: files nisplus dns
I changed it back to: file dns nisplus as I don't use nis.
It now seems to work again.
I think the bug is in glibc-2.3.6-3 assuming everyone uses nis
Caused by a glibc bug
*** This bug has been marked as a duplicate of 186592 ***