"yumdownloader --source" doesn't need enabled source repos, does it?

Robert P. J. Day rpjday at crashcourse.ca
Tue Feb 11 22:47:39 UTC 2014


On Wed, 12 Feb 2014, Ed Greshko wrote:

> On 02/12/14 05:23, Robert P. J. Day wrote:
> >   currently (against my better judgment) updating one of the fedora
> > wiki pages:
> >
> >   https://fedoraproject.org/wiki/Building_a_custom_kernel
> >
> > and i'm fairly sure that "yumdownloader --source" does *not* need the
> > user to explicitly enable the source repos, yumdownloader will do that
> > automatically, yes? where is that actually stated? "man yumdownloader"
> > doesn't say that but it seems to work fine for me here, i just want to
> > know where i can point to make that clear. thanks.
> >
>
> Sometimes the quickest way to get an answer to a question is to
> actually try what you're asking....  :-)
>
> [egreshko at f20f ~]$ yumdownloader --source kdepim
> Loaded plugins: langpacks, refresh-packagekit
> Enabling updates-source repository
> Enabling fedora-source repository
> fedora-source/20/x86_64/metalink                           |  18 kB  00:00:00
> fedora-source                                              | 3.0 kB  00:00:00
> updates-source/20/x86_64/metalink                          |  16 kB  00:00:00
> updates-source                                             | 3.5 kB  00:00:00
> (1/2): updates-source/20/x86_64/primary_db                 | 895 kB  00:00:02
> (2/2): fedora-source/20/x86_64/primary_db                  | 4.7 MB  00:00:03
> (1/2): updates-source/20/x86_64/updateinfo                 | 707 kB  00:00:01
> (2/2): updates-source/20/x86_64/pkgtags                    | 924 kB  00:00:03
> google-chrome                                                                 3/3
> kdepim-4.11.5-1.fc20.src.rpm                               |  13 MB  00:00:08

  i *know* it does this ... i've seen the above. but for the purposes
of writing documentation and courseware, i want to be able to *point*
at something and say, "see? this is how it works." and, as far as i
can tell, neither the man page nor "yumdownloader -h" makes that
clear.

  for instance, mark sobell's linux book says just that:

http://books.google.ca/books?id=xplXdW9R6QoC&pg=PT1426&lpg=PT1426&dq=yumdownloader+enable+source+repos&source=bl&ots=vJOTCpa9g-&sig=oeTuWGY3pOOUC6W6HeY3Vc4hylk&hl=en&sa=X&ei=B6j6UpObA8iG2gWmwYDYAg&ved=0CFwQ6AEwBw#v=onepage&q=yumdownloader%20enable%20source%20repos&f=false

i just want something i can point at that proves the point.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the users mailing list