Joachim Backes [RHRK] wrote:
Hi,
suddenly, no more "yum update" is possible:
yum update
Setting up Update Process
Setting up repositories
http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/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: Extras
failure: repodata/repomd.xml from Extras: [Errno 256] No more mirrors to
try.
Error: failure: repodata/repomd.xml from Extras: [Errno 256] No more
mirrors to try.
/etc/yum.conf:
--------------------------- snip -----------------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=kernel* tetex*
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[Extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
--------------------------- snip -----------------------
Any advice?
Regards Joachim Backes
Hi, found out the reason: in /etc/nsswitch.conf, I replaced the line
hosts: files nisplus dns
by
hosts: files dns
Now, "yum update" runs again.
Don't know, how the nisplus entry came into the hosts line.
--
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html