Unable to install coreutils 8.15-1(?) - error in coreutils.sh exit code 127

Andrew DeFaria Andrew@DeFaria.com
Mon Feb 20 18:54:00 GMT 2012


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



More information about the Cygwin mailing list