missing paths

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Mar 12 21:46:00 GMT 2010


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



More information about the Cygwin mailing list