Hi,
can anyone help me get yum working on RHEL4. I have installed the package but when I run a yum update I get the following error.
root@ yum.repos.d]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@ yum.repos.d]# yum update yum
Insufficient server config - no servers found. Aborting.
[root@ yum.repos.d]# rpm --import
http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[root@ yum.repos.d]# rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
rpmforge-release-0.3.6-1.el5.rf.i386.rpm: (sha1) dsa sha1 md5 gpg OK
[root@ yum.repos.d]# yum check-update
Insufficient server config - no servers found. Aborting.
[root@ yum.repos.d]# yum install yum-plugin-priorities
Insufficient server config - no servers found. Aborting.
[root@ yum.repos.d]# yum update
Insufficient server config - no servers found. Aborting.
OK I have moved this forward a little. But am now getting these errors.
#yum list
Repository base is listed more than once in the configuration
Setting up repositories
http://mirror.centos.org/centos/4ES/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
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.
Not sure if this is a problem with /etc/redhat-release file haven't incorrect release details for the yum variables. But am not sure.
Here is my /etc/yum.conf file
# more /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel
-hugemem kernel-hugemem-devel
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
plugins=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
[root@icgweb02 newreleases]#
and my /etc/redhat-release file
# more /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant)