delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/12/12:09:56

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: bash: tar: command not found
Date: Thu, 12 Apr 2007 09:09:30 -0700
Message-ID: <BF28B531A8C7E3409A8AC9C741CB580004BA096C@nwhqsemail01.WSDOT.LOC>
In-Reply-To: <20070412153231.GA13212@ednor.casa.cgf.cx>
References: <BF28B531A8C7E3409A8AC9C741CB580004BA0895 AT nwhqsemail01 DOT WSDOT DOT LOC> <461D6DBB DOT 1000301 AT cygwin DOT com> <BF28B531A8C7E3409A8AC9C741CB580004BA08C3 AT nwhqsemail01 DOT WSDOT DOT LOC> <20070412004949 DOT GA18865 AT ednor DOT casa DOT cgf DOT cx> <BF28B531A8C7E3409A8AC9C741CB580004BA0936 AT nwhqsemail01 DOT WSDOT DOT LOC> <20070412153231 DOT GA13212 AT ednor DOT casa DOT cgf DOT cx>
From: "Cheney, Christian" <CheneyC AT WSDOT DOT WA DOT GOV>
To: <cygwin AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l3CG9iV9026716

>>Did you even try typing /usr/bin/tar at any point?

>>This means that tar.exe has been unpacked into C:\cygwin\usr\bin.
That's
>>why setup thinks it's installed.  But you can't find it in your $PATH
or
>>anything, because when cygwin goes to look in /usr/bin (which is where
tar.exe
>>has been put by winzip), it actually looks in your /bin dir.  And
doesn't find
>>it.

>>In a default cygwin install, there is nothing in Windows equivalent to
the
>>/usr/bin directory, because cygwin sets up a mount so that /usr/bin
points
>>to the same place as /bin.

I thank you all for your help.  Tar.exe does not exist in the /bin
directory, or anywhere else under C:\cygwin.  Winzip may have created
the /usr/bin folder, but it didn't put anything in it.  It gave me an
error.  Even when I tried to drag and drop the file onto the desktop, it
said that it couldn't find the file.

>>The fix would be to go into your C:\cygwin\usr directory, using a DOS
shell
>>or windows explorer, and delete the bin dir.  Then re-run setup.exe,
telling
>>it to "install from local directory", just click on ok to everything
all the
>>way through, and it should reinstall everything that you deleted to
the
>>correct place.
I tried this, but to no avail.  I guess I'm back to starting from
scratch.  Thanks, again.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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