delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/11/11:18:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 11 Aug 2010 09:18:30 -0600
Message-ID: <AANLkTinNXnksnBKU7EKC4mFsqR9P5uAFsgTn0WyJ1Z=j@mail.gmail.com>
Subject: Postinstall script errors
From: Jeremy Ramer <jdramer AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

I recently upgraded from cygwin 1.5 to 1.7. At the end of the install
there were errors with some of the postinstall scripts.  From the
setup.full.log:

2010/08/11 08:39:53 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/bash.sh
ln: creating symbolic link `/dev/stdin': File exists
2010/08/11 08:39:54 abnormal exit: exit code=1
2010/08/11 08:39:54 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/passwd-grp.sh
2010/08/11 08:39:55 abnormal exit: exit code=1


I tried manually running the scripts with mixed results

$ bash --norc --noprofile /etc/postinstall/bash.sh ; echo $?
0

$ bash --norc --noprofile /etc/postinstall/passwd-grp.sh ; echo $?
1

I tired manually running the commands inside passwd-grp.sh and they
all return 0. So I'm not sure what exactly is failing.  Is there
anything I should do to investigate?

Thanks!
Jeremy

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