From: Ronald Pina <pina.ronald.al@ieee.org>
To: cygwin@cygwin.com
Subject: Error "exit code=-1073741819" while upgrading Cygwin remotely through sshd
Date: Mon, 11 Jan 2016 09:38:00 -0000 [thread overview]
Message-ID: <CAFtkZpAUPPEjbEyOj1wGs0_Vdd3HTSGR5dZgcO4Uyo7_Q-uK6w@mail.gmail.com> (raw)
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
reply other threads:[~2016-01-11 9:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFtkZpAUPPEjbEyOj1wGs0_Vdd3HTSGR5dZgcO4Uyo7_Q-uK6w@mail.gmail.com \
--to=pina.ronald.al@ieee.org \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).