This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Bug" in setup-x86.exe command line


On 12/5/2014 12:47 PM, Kizito Porta Balanyà wrote:
Hello,

I use the latest version of the installer setup-x86.exe version 2.852
I think that the command line installer has some king of "bug".

The following line doesn't download the bash package:

setup-x86.exe --download --site
http://mirrors.kernel.org/sourceware/cygwin  --quiet-mode
--no-shortcuts --local-package-dir c:\testdir --packages bash

Instead the following line does it (csih package):

setup-x86.exe --download --site
http://mirrors.kernel.org/sourceware/cygwin  --quiet-mode
--no-shortcuts --local-package-dir c:\testdir --packages csih

I don't understand what is happening. I attache the log files: they
seem ok, but in fact the bash package is never downloaded.

You may be misunderstanding what the --download option is supposed to do. I think it's supposed to cause setup to behave as though you had checked the "Download Without Installing" option in an interactive session. So it should download whatever packages have been selected for installation. In your first run, the only package selected was bash, which was already installed, so setup had nothing to do. In the second run, I assume that you didn't already have csih installed, so setup downloaded it for later install.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]