delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/19/05:20:39

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=jKmpXjG
FS5gMf6V3sm721aaSGOtTocIZO9q7nu54hd6B+LYbfq+TkF/OzEUZPbwkR+ePwrG
T/NPMref1ZkSjiH0M7vpCCawVMmbRF+NYG2VHp37cnleIEdEwqyWNhyx3ugIiw2J
al58LJrCAeFgbfH4FgXy0s4en/lahpuOafNA=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=Zx6uOz1gmNJn0
pDqDPhG66xebr8=; b=a9pvNyXEPeFZNxG+XUEy2CEdpUy6rMz78sZ38WajbsXLg
ryT12A/UvCkCwrBq2kq3Du/125SjtoM4qQaWSsGG+ouDp5czv7B06MNe7obBIkih
GFqFJJlfLnM1dHmGsjqFRPWDBpT8aoiPg0Jg0uuw/DqkvC+Khxh73ZfX0KKnuo=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=desperate
X-HELO: mail-wm0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gPIAd1c6IfOhYDX+wYUu6XxC4S2USkrnf6k6xcITQz8=; b=LgTiD0C832kH5f7I4TpBtGct6wZ0yKnGUgWbHMGk/L1hcGncD9QvVwH+cySEUsXnOP kfKL2763c/A8Utee2FNSbXvSPX4AozChB1Pe0UnyrvlGGaakYY80/uPVSYvImIfkLYjY Bsti2GYEGh30zFhO2z1tdwiUbJIC9z6whkA3kjzzi4GT8uN/dVrkeldQl8m05i9WTx25 dzCVkOqu6F83TWGxrMDbFR3RaBRUTMbDNSnoU4vBbtgnJalXqF12InOdiUs8kQGeO23l iLBhMMsdDcqzxPPekQvBA4x0H+gvhG9Kkl+TAlHVr2bGRaJfqocuBMMoiOVFf+X2VY+k ygDg==
X-Gm-Message-State: AKGB3mKQQWs3aXzrU5kPc/C/f7KxvP/Ikhz2HQ2NDWEllc7mFb7heAw5 +GHXbOnTUtl7rFW0MPuI239ut4qoiSTMWA4+iBcXSg==
X-Google-Smtp-Source: ACJfBoswp+hTIOvtkem1aOuHy0PTEu3qltqlgF6t50cWQXMLnZUJ05fx5gNV2a3sa92XCCyQo03gB1H+i9YSr6Z5194=
X-Received: by 10.28.62.20 with SMTP id l20mr3331669wma.6.1513678821443; Tue, 19 Dec 2017 02:20:21 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CANA-60qqh_Wio2+zz=bZbtkax4RS7Oy02r6PbSY7cuGcq=AvAg@mail.gmail.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> <CANA-60qqh_Wio2+zz=bZbtkax4RS7Oy02r6PbSY7cuGcq=AvAg AT mail DOT gmail DOT com>
From: Arkady <larytet AT gmail DOT com>
Date: Tue, 19 Dec 2017 12:20:01 +0200
Message-ID: <CANA-60p6FY5FmB7e-4gUWMZDHeWW8yp8hM_WpNhiu1kass_GVA@mail.gmail.com>
Subject: Re: cygwin installation fails in Windows 10 when running with --quite-mode
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

For the sake of other desperate developers searching for a solution
after 14 hours of work
This line works (most of the time?):
C:\Users\user\Downloads\setup-x86.exe -q -R C:\cygwin -s
http://mirrors.kernel.org/sourceware/cygwin -P "wget,screen,cat" -a
x86 -v -B -d -n -N

On Tue, Dec 19, 2017 at 11:51 AM, Arkady <larytet AT gmail DOT com> wrote:
> This is the full log
> C:\Users\user\Downloads>C:\Users\user\Downloads\setup-x86.exe -q -R
> C:\cygwin -s http://cygwin.mirror.constant.com -P "wget,screen,cat" -a
> x86 -v
>
> C:\Users\user\Downloads>note: Hand installation over to elevated child process.
> Starting cygwin install, version 2.883
> User has backup/restore rights
> Current Directory: C:\Users\user\Downloads
> Could not open service McShield for query, start and stop. McAfee may
> not be installed, or we don't have access.
> root: C:\cygwin system
> Selected local directory: C:\Users\user\Downloads
> net: IE5
> Loaded cached mirror list
> Request for URL http://cygwin.com/mirrors.lst satisfied from cache
> Fetched URL: http://cygwin.com/mirrors.lst
> site: http://cygwin.mirror.constant.com/
> Request for URL http://cygwin.mirror.constant.com/x86/setup.xz.sig
> satisfied from cache
> Fetched URL: http://cygwin.mirror.constant.com/x86/setup.xz.sig
> Request for URL http://cygwin.mirror.constant.com/x86/setup.xz
> satisfied from cache
> Fetched URL: http://cygwin.mirror.constant.com/x86/setup.xz
> compress_xz::bid_xz: success: 48
> compress_xz::bid_xz: success: 48
> INSTALLED.DB version 3
> package gdb comparing versions 7.11.1-2 and 7.12.1-1, result was -1
> package gdb comparing versions 7.12.1-2 and 7.12.1-1, result was 1
> package gdb-debuginfo comparing versions 7.11.1-2 and 7.12.1-1, result was -1
> package gdb-debuginfo comparing versions 7.12.1-2 and 7.12.1-1, result was 1
> package xorg-server comparing versions 1.19.3-2 and 1.19.3-1, result was 1
> package xorg-server-common comparing versions 1.19.3-2 and 1.19.3-1,
> result was 1
> package xorg-server-debuginfo comparing versions 1.19.3-2 and
> 1.19.3-1, result was 1
> package xorg-server-devel comparing versions 1.19.3-2 and 1.19.3-1, result was 1
> package xorg-server-dmx comparing versions 1.19.3-2 and 1.19.3-1, result was 1
> package xorg-server-extra comparing versions 1.19.3-2 and 1.19.3-1, result was 1
> package xwinclip comparing versions 1.19.3-2 and 1.19.3-1, result was 1
> .ini setup_version is 2.883, our setup_version is 2.883
> Added manual package screen
> Added manual package wget
> Changing gid back to original
> Visited: 87 nodes out of 10233 while creating dependency order.
> Dependency order of packages: base-cygwin cygwin dash _autorebase
> libiconv2 libintl8 alternatives libattr1 libgcc1 libgmp10 tzdata
> libstdc++6 terminfo libncursesw10 libreadline7 tzcode coreutils bash
> findutils sed base-files libbz2_1 bzip2 libffi6 libp11-kit0 libtasn1_6
> p11-kit p11-kit-trust ca-certificates libpopt-common libpopt0 cygutils
> libsigsegv2 diffutils editrights zlib0 file libmpfr4 gawk libargp
> getent libpcre1 grep groff gzip hostname info ipc-utils less libuuid1
> libblkid1 libcrypt0 libdb5.3 libgdbm4 libnettle4 libhogweed2
> libgnutls28 libnettle6 libhogweed4 libunistring2 libidn2_0 libgnutls30
> libiconv liblzma5 libopenssl100 libpipeline1 publicsuffix-list-dafsa
> libpsl5 libsmartcols1 libssp0 login util-linux man-db mintty ncurses
> openssl perl_autorebase perl_base perl rebase run screen xz tar
> vim-minimal wget which
> running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
> Updating package information in /var/cache/rebase/rebase_pkg.
> Updating rebase information for installed dynamic objects in
> /var/cache/rebase/rebase_lst.
> Updating rebase information for installed executables in
> /var/cache/rebase/rebase_exe.
> removing /var/cache/rebase/rebase_dyn
> creating empty /var/cache/rebase/rebase_dyn
> Updating rebase information for user-defined dynamic objects
> /var/cache/rebase/rebase_user.
> Updating rebase information for user-defined executables
> /var/cache/rebase/rebase_user_exe.
> Rebasing with list /var/cache/rebase/rebase_all, built from
> /var/cache/rebase/rebase_lst /var/cache/rebase/rebase_dyn
> /var/cache/rebase/rebase_user.
>
> running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
> running: C:\cygwin\bin\bash.exe --norc --noprofile
> "/etc/postinstall/zp_man-db.sh"
> Changing gid to Administrators
>
> On Tue, Dec 19, 2017 at 10:37 AM, Arkady <larytet AT gmail DOT com> wrote:
>> 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"
>> Indeed 32 bits installer sometimes works.
>>
>> On Mon, Dec 18, 2017 at 8:50 PM, Arkady <larytet AT gmail DOT com> wrote:
>>> 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 "setu-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.
>>>
>>>
>>> On Mon, Dec 18, 2017 at 7:41 PM, Arkady <larytet AT gmail DOT com> wrote:
>>>> 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
>>>>
>>>> On Mon, Dec 18, 2017 at 7:27 PM, Arkady <larytet AT gmail DOT com> wrote:
>>>>> Hi,
>>>>>
>>>>> 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 quite mode fails to install/update Cygwin on the machin where it
>>>>> is already installed.
>>>>>
>>>>>
>>>>> What am I missing?
>>>>>
>>>>> Thanks.

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