“yumdownloader”找不到RHEL6 SRPM
我正在尝试从他们的服务器上下载redhat的SRPM。 我经历了初始化存储库的第一步… # 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 然后我做了一个百胜更新,并确保我的回购数据库是最新的。 当我去下载源,但是… # 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 我在CentOS 5上经历了相同的步骤,它工作。 (不过,我使用的是CentOS版本库,而不是RHEL的版本…但是,我感到困惑,甚至手动FTP了他们的服务器, ftp> ls gcc* 227 Entering Passive Mode […]