--download-only option in yum 2.0.6

seth vidal skvidal at phy.duke.edu
Wed Mar 17 20:08:33 UTC 2004


On Wed, 2004-03-17 at 16:09 -0800, Thomas Chung wrote:

> All,
> 
> I think I found a bug in yum 2.0.6 but perhaps you can confirm it.
> 
> Notice the result betwen two commands with different order:
> 
> In the first command I used "--download-only" before "install" and it didn't
> install ncftp as expected.

why would --download-only install when it's specfically saying it will
ONLY DOWNLOAD.



> In the second command I used "--download-only" after "install" and it DID
> installed ncftp.

b/c the option is out of order of the getopt parser.

yum [options] command pkg pkg pkg....

so yum --download-only install foo bar baz

not
yum install --download-only foo bar baz.

-sv






More information about the fedora-devel-list mailing list