I am trying to download SRPMs from redhat from what of their servers. I went through step one of initializing the repository...
# cat /etc/yum.repos.d/rhel-source.repo [rhel-source] name=Red Hat Enterprise Linux $releasever - $basearch - Source baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Then I did a yum update, and everything to make sure my repo database was up to date. When I go to download the source, however...
# yumdownloader --source gcc Loaded plugins: product-id, refresh-packagekit, rhnplugin No source RPM found for gcc-4.4.4-13.el6.x86_64 No source RPM found for gcc-4.4.5-6.el6.x86_64 Nothing to download
I went through the same steps on CentOS 5 and it works. (Though, I'm using the CentOS repository, not RHEL's... Still, I'm puzzled. I even FTP'ed their server manually and looked
ftp> ls gcc* 227 Entering Passive Mode (209,132,183,61,19,97). 150 Here comes the directory listing. -rw-r--r-- 4 ftp ftp 52214716 Aug 17 2010 gcc-4.4.4-13.el6.src.rpm -rw-r--r-- 5 ftp ftp 52113813 Apr 21 20:28 gcc-4.4.5-6.el6.src.rpm 226 Directory send OK. ftp>
Those look like SRPMs to me... what am I doing wrong?