Repo requirements of Centos 6.2:
- rpm -Uvh http://spacewalk.redhat.com/yum/1.6/RHEL/6/x86_64/spacewalk-repo-1.6-1.el6.noarch.rpm
- rpm -ihv http://spacewalk.redhat.com/yum/1.6-client/RHEL/5/x86_64/spacewalk-client-repo-1.6-1.el5.noarch.rpm
- rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
And my favorite:
- sudo touch /etc/yum.repos.d/jpackage-generic.repo
- File contents:
[jpackage-generic] name=JPackage generic #baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/ mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0 enabled=1 gpgcheck=1 gpgkey=http://www.jpackage.org/jpackage.asc
At this point tweak your yum config as chances are its metadata cache may be gimped. Errors can include "failure: repodata/filelists.sqlite.bz2 from spacewalk-client: [Errno 256] No more mirrors to try".
- Edit /etc/yum.conf and add the following line
- http_caching=packages
- sudo yum clean metadata
No comments:
Post a Comment