This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- Date: Mon, 11 Jan 2016 10:26:49 +0100
- Subject: Error "exit code=-1073741819" while upgrading Cygwin remotely through sshd
- Authentication-results: sourceware.org; auth=none
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