[rhelv6-list] how to get source packages from RHN channels

Chen, Wei D wei.d.chen at intel.com
Mon Aug 19 01:58:15 UTC 2013


thanks Gianluca, it works.

Best Regards,
Dave Chen

> -----Original Message-----
> From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Gianluca Cecchi
> Sent: Friday, August 16, 2013 6:34 PM
> To: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list
> Cc: Wei, Gang; Xu, Quan
> Subject: Re: [rhelv6-list] how to get source packages from RHN channels
> 
> Sorry I didn't read that you were referring to JBoss channel I foud link for its sources here:
> 
> ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/JBEAP/SRPMS/
> 
> so you can download manually or trick a repo like this
> 
> # cat rhel-jb-src.repo
> [rhel-jb-src]
> name=Red Hat Enterprise Linux $releasever - $basearch - JBoss Source
> baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/JBEAP/SRPMS/
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
> 
> and then:
> # yumdownloader --source --destdir /tmp apache-mime4j Loaded plugins: dellsysid, product-id rhel-jb-src
>                                | 2.5 kB     00:00 ...
> rhel-jb-src/primary_db
>                                | 374 kB     00:01 ...
> Enabling epel-source repository
> Enabling rhel-6-server-cf-tools-1-source-rpms repository Enabling rhel-6-server-source-rpms repository Enabling
> rhel-6-server-rhev-agent-source-rpms repository Enabling rhel-6-server-supplementary-source-rpms repository Enabling
> rhel-6-server-optional-source-rpms repository Enabling rhel-rs-for-rhel-6-server-source-rpms repository Enabling
> rhel-ha-for-rhel-6-server-source-rpms repository apache-mime4j-0.6-7.redhat_2.ep6.el6.5.src.rpm
> 
> Gianluca
> 
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6648 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20130819/30e99fda/attachment.p7s>


More information about the rhelv6-list mailing list