X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=MF9UDQ8/Y7MKgtkJxKMbUHE6XkZXW3Gp0pVW0CCm075
	rTzi/vH3k8Ml0/wp1qLb+MgyrzzxWEbP7hemnYCB1l2X/6q9C64MGvyKBY5cLCgC
	ATtjzaZ/NbvNKYKb35qOYaS6+7WEY0fK3FfmOoAFmeEK7j9xQZQElDBMT5rFY1yw
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=CivDePHul6XanE9DiMHEs8AYnxg=; b=qFFsbkv9fERSkLhSF
	UKnRJDVYmGjM4vyQltrm3GeTjwiSvq/4Yd8KnqIltS4xhisvFNZJ1E3NDA7Fdte1
	vt0c9cH5rx3CU0Z8nLLf84+li8pTnP25+hPs1bIJOaptItQ2EVkejA0moHft0qLJ
	gzfVZ/jrT01WD9tRK7pKh8jD4M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <54820EF3.903@cornell.edu>
Date: Fri, 05 Dec 2014 15:00:51 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: "Bug" in setup-x86.exe command line
References: <CAO2ddnYE5FyVVfRQaUX-AjKdR+BwQ2T+QMv5rBhDsAJMLYDZxQ@mail.gmail.com>
In-Reply-To: <CAO2ddnYE5FyVVfRQaUX-AjKdR+BwQ2T+QMv5rBhDsAJMLYDZxQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

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

