www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/19/13:22:23

X-Recipient: archive-cygwin AT delorie DOT 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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=mEEmhxPtJJtst7Ok
pn1BxeLOj5uEq+SJkfOjqKe22co6MGszsRbUaG4tZGE0o3D3DUs/Xuxdaa3Ah0cj
Ts4e6E3JQOoqS3WU1gMNMVTp6V1WCCfqNKZsq1iMOk4LpkXkdMuqACGGgFy4tkb9
HBZe3D5GanUvXmA3cHEPCjN/jY0=
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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=sOucubSzUyZAWMGxfQe7rL
73Tqs=; b=uIvVpPR45z8eUnxMD3AbRapnPGEtf9qcAzDHZFR1+4uOh7qI/04IsF
ns5i/BAuQTBQLOlnRF3uBDZsgMb7TvVwfqdgI4BMThe/IYpufEnwhYGxIeR6QZpp
M3Q2L5DOt22kOf09ZBrYqnco/rvH4xbWPaHnVy1Z0aCtJPi4FNOZ8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, H*r:sk:smtp-ou, desktops
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=J/va1EvS c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=v82BPIQ6AAAA:8 a=NEAV23lmAAAA:8 a=Veh4jlMUfk70zE7YHG4A:9 a=pILNOxqGKmIA:10 a=kdvKi6FvV4v_X1HGDEmx:22
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: cygwin installation fails in Windows 10 when running with --quiet-mode
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
To: cygwin AT cygwin DOT com
References: <CANA-60oadKGFQGeFm2_hurX4VErXKJqpBXOJxHhUnUy=Q2eqLg AT mail DOT gmail DOT com> <CANA-60oKyYYx02-RiA_sXqsg3UcLv=ZoFxbXf6_PZSiUa47RDg AT mail DOT gmail DOT com> <CANA-60qzXQu7cEqJrdhuTUnSLYPSD9zVMQF2w1ejQ-uwEAWHmQ AT mail DOT gmail DOT com> <CANA-60oR+VyYhkySdMKOA77YvbTQ6kAH8-K8ai_CLbGDKzAfxg AT mail DOT gmail DOT com>
Message-ID: <14ac1818-068d-8251-d528-5b1e09802062@SystematicSw.ab.ca>
Date: Tue, 19 Dec 2017 11:19:46 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CANA-60oR+VyYhkySdMKOA77YvbTQ6kAH8-K8ai_CLbGDKzAfxg@mail.gmail.com>
X-CMAE-Envelope: MS4wfI+BvmgpC8hx6E97uehfZ/lE1izIaCGUaRzhkRxUIwl/ZJIZKBtkmCOa1qyRcNLQJ5bwoYud4w4MM+K64ulCPtviMoGgNR9okxwOmMnnkk5wp1Bn0np1 2mbL+Xdrnu4EVceC7P2wM3f8VF5dOwe/7JayfWDq5JHWDEGq5E/EZzFac3A/RszRXdCAuD/3VH7Hsg==
X-IsSubscribed: yes

On 2017-12-19 01:37, Arkady wrote:
> On Mon, Dec 18, 2017 at 8:50 PM, Arkady wrote:
>> On Mon, Dec 18, 2017 at 7:41 PM, Arkady wrote:
>>> On Mon, Dec 18, 2017 at 7:27 PM, Arkady wrote:
>>>> I am trying to do:
>>>> setup-x86_64.exe -q -p wget -v
>>>> The installation fails with the last line
>>>> "Changing gid to Administrators" and a small dialog box
>>>> "setup-x86_64.exe" has stopped working
>>>> A problem caused the program to stop working correctly..."
>>>> I tried
>>>> setup-x86_64.exe -q -p wget -v -B
>>>> and
>>>> setup-x86_64.exe -q -p wget -v -B -R C:\Windows\Temp
>>>> The same result - the setup fails
>>>> The interactive GUI installation works fine.
>>>> The quiet mode fails to install/update Cygwin on the machine where it 
>>>> is already installed.
>>>> What am I missing?
>>>> Thanks.
>>> I tried again on the clean Windows VM
>>> setup-x86_64.exe -q -B -R C:\Users\user\Downloads -s http://cygwin/mirror/constant.com
>>> After that I tried
>>> setup-x86_64.exe -q -B -R C:\Users\user\Downloads -s http://cygwin/mirror/constant.com -p wget,screen
>>> Both worked. Looks like my bad
>> Reproduced again with Autounattend.xml
>> My goal is to prepare a Windows machine with Cygwin installed. I am
>> trying to script the process.
>> I have the following section the Autounattend.xml file
>>                 <SynchronousCommand wcm:action="add">
>>                     <CommandLine>cmd.exe /c C:\Windows\Temp\setup-x86.exe -q -R C:\cygwin -l C:\Windows\Temp --packages "wget,zip,screen" -s http://cygwin.mirror.constant.com</CommandLine>
>>                     <Description>Install Cygwin</Description>
>>                     <Order>99</Order>
>>                     <RequiresUserInput>true</RequiresUserInput>
>>                 </SynchronousCommand>
>> The whole file is
>> https://github.com/larytet/auto-win/blob/master/autounattend/packer-floppy-win10/Autounattend.xml
>> The installation fails with the same
>> "setup-x86.exe has stopped working".
>> I do not see output, but I bet that this is the same
>> "Changing gid to Administrators" problem.>> I suspect that this is something related to running as an
>> Administrator or System.
>> I will greatly appreciate any tip.
> Another update: the quite mode sometimes succeeds. I estimate that the 
> success rate is 30%. It rarely succeeds very first time.
> The problem is definitely not new. See, for example,
> https://github.com/boxcutter/windows/blob/master/floppy/cygwin.bat#L50
> The batch start with rather encouraging
> "Force CYGWIN_ARCH to 32-bit - 64-bit seems to crash a lot"

If you complete the quote with the later comment suffix
	"... on Windows 2008 and 2012"
that may have been true on server installs five or ten years ago, almost half
Cygwin's history, but Cygwin 64 bit has come a long way in that time, as has
Windows 64 itself, Cygwin Windows server support, and the Cygwin 64 bit packages
supported.
Many of us with 64 bit machines and OSes have been running Cygwin 64 bit since
the Cygwin packages we needed became available on Cygwin 64 bit.
Nowadays, you should install the Cygwin arch matching your OS, and Cygwin 64 bit
is recommended if you need to install a lot of packages with DLLs, e.g. X Window
System, especially if you want to run full Gnome or KDE desktops, with many apps
and many dependencies on library packages.

> Indeed 32 bits installer sometimes works.

Cygwin 32 bit and setup-x86 will not work on Windows 64 bit server (2008R2 and
newer) that no longer have 32 bit WoW subsystem support.
You may be unable to set up to run a lot of apps with many dependencies on
libraries in the available address space.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019