| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI |
| X-Spam-Check-By: | sourceware.org |
| From: | "Schwarz, Konrad" <konrad DOT schwarz AT siemens DOT com> |
| To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| Date: | Tue, 9 Nov 2010 10:48:10 +0100 |
| Subject: | Incorrect PATH setting in setup.exe results in Postinstall script errors, .sh exit code 127 |
| Message-ID: | <12C76B3C34B11F48831D509828BB8813D0F79228@DEMCHP99E35MSX.ww902.siemens.net> |
| MIME-Version: | 1.0 |
| 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 |
Hi,
I just updated my Cygwin installation using a newly=20
downloaded setup.exe. At the beginning of the script, I am=20
warned that I am updating to Cygwin 1.7.1, please read=20
various manuals (I recently upgraded a different computer=20
without difficulties and kind of remembered that none of the=20
mentioned caveats were particularly serious for me).
At the end of the installation process, a dialog box pops up=20
stating that postinstall script errors had occurred, and a=20
list of lines "package-name.sh exit code 127". Starting the=20
Cygwin DOS box works. However, PATH is set incorrectly;=20
typing vi finds it in my SFU installation (which doesn't work=20
with a cygwin terminal). Re-executing startup.exe returns=20
the same postinstall script error message.
The root cause for the postinstall scripts errors is the=20
incorrect PATH, as the shell returns 127 to indicate command=20
not found. On the other hand, I would have expected PATH to=20
be set in one of the postinstall scripts.
Starting setup.exe from the Windows command line with PATH=20
prefixed with {cygwin install directory}\bin gets rid of the=20
error messages; the packages are installed sucessfully.
However, I do get a Postinstall script error "Package: no=20
package\n\tpassword-grp.sh exit code 1\n". This is probably=20
unrelated to the problem reported here.
Konrad Schwarz
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |