delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/12/16:39:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=BAYES_00,BOTNET,RCVD_IN_SORBS_WEB
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <4B9A9683.8070600@cygwin.com>
Date: Fri, 12 Mar 2010 14:31:15 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
To: cygwin AT cygwin DOT com
Subject: Re: missing paths
References: <C742AC34C772EC4BAAF642C22E6079D3012111A3460C AT NSPEXMBX-A DOT the-lab DOT llnl DOT gov> <4B9A8AF8 DOT 504 AT cygwin DOT com> <C742AC34C772EC4BAAF642C22E6079D3012111A34618 AT NSPEXMBX-A DOT the-lab DOT llnl DOT gov>
In-reply-to: <C742AC34C772EC4BAAF642C22E6079D3012111A34618@NSPEXMBX-A.the-lab.llnl.gov>
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

On 3/12/2010 1:57 PM, Roe, Kevin L. wrote:
> First off, I cannot run cygcheck and give you the results.  My machine is
> completely disconnected from the internet and has no external write
> capability.

I think it goes without saying that this is an impediment to solving this
problem.  But I'll resort to some WAGs for now.

> After installation, I launched the rxvt BASH shell.
>
> The shell came up in the wrong directory (/usr/bin), but upon the “cd”
> command, went to the appropriate location declared in the /etc/passwd file.
>
> At that point, I tried running a simple command, ssh. The system said
> “bash: ssh: command not found”

Presumably you did install the OpenSSH package.  This is, of course, the
only way the above message wouldn't be valid.

> So, I did an echo of $PATH. The result was missing all the cygwin paths
> (/usr, /bin, …), but included windows paths: (if you were wondering about
> the statement at the top, this was typed in manually)
>
> I don’t understand why the path is missing, any guidance on how to fix
> the problem would be appreciated.

Possibly a bad install.  Take a look at your setup.log* files and see if
there are any complaints in them.  My guess is that at least some of the
postinstall scripts didn't run.  If that is indeed the case, you can try
rerunnung them with 'setup.exe' by just running it again.  If that doesn't
work, you can go to the '/etc/postinstall' directory and rerun all the
scripts that are there (if there are any without the ".done" suffix, try
running those first).  Also, it's very important that you're installing
the latest packages with the latest 'setup.exe'.  The latter is even
more important than the former.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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