X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_00,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Brian Wilson" <wilson@ds.net>
To: cygwin@cygwin.com
Subject: Re: 1.7.11-1 Update returns non-zero exit codes for coreutils
Date: Wed, 28 Mar 2012 12:42:43 -0500
Message-Id: <20120328172709.M58531@ds.net>
In-Reply-To: <4F7347D2.8050308@cygwin.com>
References: <20120328170130.M51882@ds.net> <4F7347D2.8050308@cygwin.com>
X-OriginatingIP: 12.47.144.154 (wilson)
MIME-Version: 1.0
Content-Type: text/plain;	charset=iso-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> > While I can run the Cygwin terminal window, there appears to be a very serious
> > issue as I can't run commands like "cd", "ls", or "cygcheck" either.
> 
> Can you tell us what this means?  How did you determine that you can't run these commands?

I opened the cygwin terminal and got the usual shell prompt.  I entered the "cd" or "ls" commands and got a command not found error.  I echoed  
$PATH and saw that the path didn't look correct (which is why I assume the commands couldn't be found).  I would have expected to see /usr/bin and 
/usr/local/bin in the path somewhere.  I didn't try giving the full path to these commands to see if the commands would have worked (I assume they 
would, but will confirm tonight).

I opened an Explorer session and went to C:\cygwin\bin and I could see the ls.exe and cygcheck.exe files were present so I presumed the issue was 
with the $PATH not being set correctly.

> > I can't run cygcheck or I would try to give the output as an attachment.
> 
> So you're saying c:\cygwin\bin\cygcheck.exe doesn't run from cmd.exe?
> True for c:\cygwin\bin\ls.exe too?  What feedback do you get?

I got the command not found error when I tried to run cygcheck from the shell.  Stupidly, I didn't try with the full path to the file in the shell. 
I did open a windoz cmd window and ran the cygcheck command.  There were errors (which I didn't bother to record of course).  I will repeat this 
attempt and send the results this evening.

Sincerely,

Brian S. Wilson

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

