delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/28/13:43:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT ds DOT net>
To: cygwin AT cygwin DOT 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 DOT M51882 AT ds DOT net> <4F7347D2 DOT 8050308 AT cygwin DOT com>
X-OriginatingIP: 12.47.144.154 (wilson)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019