yum update yum and
yum clean all, but neither help to resolve the following problem:
# yum install httpd --installroot=/opt/httpd2 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: repoforge.spinellicreations.com http://centos.karan.org/el%24releasever/extras/stable/x86_64/RPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: kbs-CentOS-Extras. Please verify its path and try again
I've also tried deleting any
.repo files for kbs-CentOS-Extras from
/etc/yum.repos.d, and re-running the command, without any changes. Here's my system information, just in case:
# uname -a Linux 2.6.18-274.3.1.el5xen #1 SMP Tue Sep 6 20:57:11 EDT 2011 x86_64 GNU/Linux
I am now using the
.repo file provided here. Here is my
[main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 bugtracker_url=http://bugs.centos.org/yum5bug timeout=300 installonly_limit = 5 # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h
yum.log file is empty, but
/var/cache/yum/kbs-CentOS-Misc contains a
repomd.xml -- could this perhaps be used instead of the remote copy?
If not, any suggestions for how I can solve this?