Bug 652783
| Summary: | provide yum repository for accessing rhel source rpms | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Frank Ch. Eigler <fche> | |
| Component: | redhat-release-server | Assignee: | Andrew Thomas <anthomas> | |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 6.0 | CC: | atodorov, david.ward, jstodola, lkocman, LunaSilverMoon, mjw | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | redhat-release-server-6Server-6.1.0.1.el6 redhat-release-computenode-6ComputeNode-6.1.0.1.el6 redhat-release-client-6Client-6.1.0.1.el6 redhat-release-workstation-6Workstation-6.1.0.1.el6 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 652790 879944 (view as bug list) | Environment: | ||
| Last Closed: | 2011-05-19 12:55:30 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 652790, 879944 | |||
|
Description
Frank Ch. Eigler
2010-11-12 18:37:01 UTC
/etc/yum.repos.d/rhel-source.repo added in redhat-release-server-6Server-6.1.0.1.el6 redhat-release-server-6Server-6.1.0.1.el6 contains 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=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [rhel-source-beta] name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release What about redhat-release-workstation, etc.? The repo will be available in all redhat-release-* packages. Thanks. Please see similar request on bug 652790 for RHEL 5 (was already closed). An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0540.html Does the source repository work for anyone? Something seems to be missing for me, both under RHEL 6 and RHEL 5... $ rpm -q redhat-release-workstation redhat-release-workstation-6Workstation-6.1.0.2.el6.x86_64 $ sudo yumdownloader -v --enablerepo=rhel-source --source kernel Loading "rhnplugin" plugin Not loading "blacklist" plugin, as it is disabled Loading "refresh-packagekit" plugin Not loading "whiteout" plugin, as it is disabled Config time: 0.038 Looking for repo options for [rhel-x86_64-workstation-6] Looking for repo options for [rhel-x86_64-workstation-supplementary-6] Looking for repo options for [rhel-x86_64-workstation-fastrack-6] Looking for repo options for [rhn-tools-rhel-x86_64-workstation-6] Looking for repo options for [rhel-x86_64-workstation-optional-6] repo time: 1.667 repo time: 0.002 Setting up Package Sacks rhel-source | 951 B 00:00 ... rhel-source/primary | 672 kB 00:03 ... rhel-source 2618/2618 rhel-x86_64-workstation-6 5458/5458 rhel-x86_64-workstation-fastrack-6 57/57 rhel-x86_64-workstation-optional-6 3092/3092 rhel-x86_64-workstation-supplementary-6 123/123 rhn-tools-rhel-x86_64-workstation-6 41/41 pkgsack time: 59.802 No source RPM found for kernel-2.6.32-71.7.1.el6.x86_64 No source RPM found for kernel-2.6.32-71.24.1.el6.x86_64 No source RPM found for kernel-2.6.32-131.2.1.el6.x86_64 No source RPM found for kernel-2.6.32-71.el6.x86_64 No source RPM found for kernel-2.6.32-71.14.1.el6.x86_64 No source RPM found for kernel-2.6.32-71.18.2.el6.x86_64 No source RPM found for kernel-2.6.32-71.18.1.el6.x86_64 No source RPM found for kernel-2.6.32-131.4.1.el6.x86_64 No source RPM found for kernel-2.6.32-71.29.1.el6.x86_64 No source RPM found for kernel-2.6.32-131.0.15.el6.x86_64 Nothing to download @Dennis Gregorovic, @Alexander Todorov, @Frank Ch. Eigler: Is this working for you (does the repository allow you to download source RPMs)? If not please change status back from CLOSED. See bug 710469 Well does not work for me, but I found this http://www.cyberciti.biz/faq/yum-download-source-packages-from-rhn/ Just change the name from rhel-source to rhel-src and started to work. How do you properly enable this? I don't seem to be able to make yum-builddep work whatever I try. Could someone show an example of how they edited the rhel-source.repo file and/or how they invoke yum-builddep to get the srpm of a package on an rhel6-workstation install? |