Hey guys!
I got a problem with setting up a yum repo on my rhel5.2 machine...
I want to setup the switch-mirror from switzerland in yum for installing software. I did the necessary things in /etc/yum.conf and also created a /etc/yum.repos.d/switch.repo file.
It seems to werk well downloading the repodata from the mirror, but if i execute "yum list available" it just gives me no packages at all...
Here are my config files:
# /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=10
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
---
# /etc/yum.repos.d/switch.repo
[switch]
name=Switch Mirror
baseurl=ftp://mirror.switch.ch/mirror/redhat/linux/enterprise/5Server/en/os/SRPMS/
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
I google all night long but just didnt found any solution. I hope anyone can help me