From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27613 invoked by alias); 21 Jan 2012 23:40:31 -0000 Received: (qmail 27603 invoked by uid 22791); 21 Jan 2012 23:40:30 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nihxway5out.hub.nih.gov (HELO nihxway5out.hub.nih.gov) (128.231.90.113) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Jan 2012 23:40:16 +0000 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAL1LG0+cKEcU/2dsb2JhbABDrh2BBYFyAQEBBBIoUQEIDQscAi8TJgEEGxQGh2KYaIQ3mlWLQ2MEiDuEQo4ThQ2HZg Received: from unknown (HELO NIHHT01.nih.gov) ([156.40.71.20]) by nihxway5out.hub.nih.gov with ESMTP; 21 Jan 2012 18:40:15 -0500 Received: from NIHMLBX02.nih.gov ([156.40.71.32]) by NIHHT01.nih.gov ([156.40.71.20]) with mapi; Sat, 21 Jan 2012 18:40:15 -0500 From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin-apps@cygwin.com" Date: Sat, 21 Jan 2012 23:40:00 -0000 Subject: RE: setup.exe -s (--site) option not working Message-ID: <0105D5C1E0353146B1B222348B0411A20A51C5679B@NIHMLBX02.nih.gov> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2012-01/txt/msg00026.txt.bz2 David King sent the following at Friday, January 20, 2012 8:33 AM >On Jan 18, 2012, at 12:21 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> David King sent the following at Tuesday, January 17, 2012 10:14 PM >>> cygwin install, version 2.763 >>> >>> I created a batch file to auto install cygwin with some packages (see >>> below). When I run the batch file from a command prompt, it just outputs >>> "getUrlToStream failed" multiple times before it ends. If I take out >>> the -s option and run the batch file, the gui displays and stops on the >>> page to choose a download site and then the next page goes into the >>> package selection gui. If I quit the gui installer at that point, and >>> then re-run my batch file, the install performs perfectly. My best guess >>> is that it's loading the previously selected download site in one of the >>> generated setup files. Is this a known issue or is there a workaround? >>> >>> The batch file is here: https://gist.github.com/1630619 >>> >>> The output saved to my setup.log is here: >>> https://gist.github.com/1630611 >> >> My GUESS is that setup cannot guess what directory of mirrors.kernel.org >> to look in. The links to mirrors on http://cygwin.com/mirrors.html point >> to directories, not to the roots of the servers Try >> http://mirrors.kernel.org/sourceware/cygwin/ >> with or without the training slashes, or maybe >> http://mirrors.kernel.org/sourceware/ > >Thank you very much Barry. That was the exact problem. I was using the >urls specified by the gui mirror download list. Here's my working batch >file in case anybody is curious: > >----------------------------------- >setup.exe ^ >--disable-buggy-antivirus ^ >--quiet-mode ^ >--site http://mirrors.kernel.org/sourceware/cygwin/ ^ >--packages ^ >ruby,^ >curl,^ >git,^ >mingw64-i686-gcc-g++,^ >gcc,^ >libtool,^ >make,^ >automake,^ >readline,^ >libreadline7,^ >zlib-devel,^ >ncurses,^ >vim >------------------------------------- Perhaps an elaboration of how to specify the URL this should be added to setup's help and documentation. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID.