Re: How to make yum download srpms too?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



..snip..

On Sat, Aug 27, 2011 at 12:59 PM, Fernando Cassia <fcassia@xxxxxxxxx> wrote:
> Is there any way to make yum also download srpms for every downloaded (and
> installed) rpm?.
>
> I just want to keep a repository of source files needed to build a system in
> any given state it currently is. For instance, I can download the srpms for
> the base system, but as time passes, the system will auto-download security
> fixes and other app updates... I'd love the srpms for each to be downloaded
> automagically and placed in, say /home/userX/source-updates/
>
> how would you approach this? is it needed to patch yum? or RPM? or maybe
> there's an existing mechanism to accomplish this?

You could may be use "rpm -qa" to get a list of all installed RPMs and
then pipe the output to "yumdownloader --source" to download SRPMs for
all installed RPMs. That is assuming you don't need tight integration
with yum.

Jitesh
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux