delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/20/13:54:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Unable to install coreutils 8.15-1(?) - error in coreutils.sh exit code 127
Date: Mon, 20 Feb 2012 10:53:04 -0800
Lines: 37
Message-ID: <jhu4qi$h0l$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
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 cannot install coreutils 8.15-1 because when running the postinstall 
coreutils.sh it has an error.

Looking at the setup.log.full I see:

2012/02/20 10:22:15 running: C:\Cygwin\bin\bash.exe --norc --noprofile 
/etc/postinstall/coreutils.sh
/etc/postinstall/coreutils.sh: Using the default version of 
/etc/DIR_COLORS (/etc/defaults/etc/DIR_COLORS)
2012/02/20 10:22:17 Changing gid to Administrators
2012/02/20 10:22:24 note: Installation Complete
2012/02/20 10:22:24 Ending cygwin install

I looked at the script and I see no reason for it to fail. However I 
believe things are messed up before postinstall even runs this script. 
If I do the following:

$ cp /etc/postinstall/coreutils.sh /tmp; echo $?
127
$

The bare cp(1) fails with 127. All kinds of commands fail with 127 like:

$ ls /bin/cygwin1.dll; echo $?
127
$ id; echo $?
127
$

Everything fails!

My work around is to reinstall version 8.14-1 of coreutils. Does this 
mean that coreutils 8.15-1 is horribly broken?
-- 
Andrew DeFaria <http://defaria.com>
If you press me to say why I loved him, I can say no more than because 
he was he, and I was I. - Michel de Montaigne


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