delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/11/04:27:11

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=IQs+KZUQkws0i8BR6JTQ6fCpj1eU8
T+X32sAZoQbEqhDJaOYR9IkxptDZDe8K/D0Jt7/DYaVALe2BYAhfG41y0hhOPgSw
sOK7RydhJuP/epF33DXX5h7S1+PPzFSYPin6ov9hamvS/UVkT54dtbLkE7pTN/eq
UmkXRF9czUOjB0=
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:date:message-id:subject:from:to
:content-type; s=default; bh=K+1oVTEtBSaDfE1TquH2PNC0hww=; b=pNc
deeodHEgXnlq9Ig8KqGnPyzv1PaFgLLJ16RLLmN8A8OhqjHiYVWx7Wu4Y2/hfEao
+cFyTWbh2e+8ZFXffdwU8YlKzHrrt6FbUgiDu+lMSWuzudgHi66R/TbV+5TjbQM4
WWJwHX1PjevVvol5NE/uSLOVaG5BPyylmPBYqrIg=
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.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:cygwin1.dll, cygwin1.dll, cygwin1dll, starts
X-HELO: mail-lf0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=z7st+0YJmurw/tlubA9gTILSevQZ6bmt2TZkDp3zAxo=; b=YpuVxcMUoZVJ8jKBkYQdf/wNn6lWJCBN1Gep5vwcRtvkwrTlhM69HQPlCL42aiLzz0 92xUIVFOQA0olnVwruHffoj8P/JZZHoQ+cYr4dtruHQ1YWyQ9+3Km+yGFVNy9OaBnRMa Nm318QoY5J3zLkAptuhJKiyx2uWaL5Piw2lUfl8hgllLDdDi5SbGjZuTrRiyedNespVx oaUU5+jlYajffvkDSgdk/tmeTxvD+5XwezyjmtO6uah87w1s3pUZjeIESUniUqW91JJb bSX7MVup3LMnyIY8lW4oigdo86xjoVEHeuzlxmPcO4YQRzen0lC5J1FduRA+Y5GFyAb1 Tvag==
X-Gm-Message-State: ALoCoQmwtHnJDKY4oDXtadqmbli45dKLeYjL86AaIPoGMaAySLvwVBVuQVGIM7UwzX1trorakH+zWlxgyr3riEnvbDGUFs7GMNQBXhc4DIb7CIJRf8B/Yi4=
MIME-Version: 1.0
X-Received: by 10.25.44.142 with SMTP id s136mr1970933lfs.113.1452504409366; Mon, 11 Jan 2016 01:26:49 -0800 (PST)
Date: Mon, 11 Jan 2016 10:26:49 +0100
Message-ID: <CAFtkZpAUPPEjbEyOj1wGs0_Vdd3HTSGR5dZgcO4Uyo7_Q-uK6w@mail.gmail.com>
Subject: Error "exit code=-1073741819" while upgrading Cygwin remotely through sshd
From: Ronald Pina <pina DOT ronald DOT al AT ieee DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hello

I am trying to upgrade Cygwin on Win7 remotely through sshd, using
some small scripts but without success it always show:

  Changing gid back to original
  running: c:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
  abnormal exit: exit code=-1073741819
  running: c:\cygwin\bin\bash.exe --norc --noprofile
"/etc/postinstall/000-cygwin-post-install.sh"
  abnormal exit: exit code=-1073741819

While, i can update it the same way using a local cygwin terminal.

The taken task are :

1. First, send a command to remote shell to start a batch script on a
new independent cmd window as follow and it kills all opened cygwin
processes like bash.

 cmd /c start "C:\Users\Administrator\Downloads\call_setup.bat" && for
i in    $(ps -e | awk '{print $1}' | sort) ; do kill -9 $i ; done

2. call_setup.bat calls another batch file which starts the upgrading
process as follow, and i have read on another thread from Corinna that
first it needs to installing only the cygwin1.dll from
http://cygwin.com/snapshots/x86/cygwin1-20151112.dll.xz and then
perform the upgrade:

net stop sshd
xcopy /y "C:\Users\Administrator\Downloads\cygwin1.dll" "C:\cygwin\bin"
"C:\Users\Administrator\Downloads\setup-x86.exe" -q -n -N -d -g -A -R
"c:\cygwin" -L -l "C:\Users\Administrator\Downloads" -P openssh,rsync
 net start sshd

Any help appriciated

Thanks in advance !

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