Category: Yum

Yum install strace fails with error:

[root@server ~# yum install strace
Setting up Install Process
Setting up repositories
http://vault.centos.org/4.9/updates/i386/repodata/repomd.xml: [Errno 4 IOError: 
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256 No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256 No more mirrors to try.

Assuming you have name resolution, to resolve this, get the RPM directly. This is the download for CentOS v5.5:

 wget ftp://fr2.rpmfind.net/linux/centos/5.8/os/x86_64/CentOS/strace-4.5.18-5.el5_5.5.x86_64.rpm

 rpm -i strace-4.5.18-5.el5_5.5.x86_64.rpm

Check Google to find your specific OS RPM version

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: