X-Spam-Check-By: sourceware.org
Date: Thu, 12 Apr 2007 12:34:25 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Dave Korn <dave.korn@artimi.com>
cc: cygwin@cygwin.com
Subject: RE: bash: tar: command not found
In-Reply-To: <014a01c77d17$0206ac20$2e08a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0704121230510.1570@access1.cims.nyu.edu>
References: <BF28B531A8C7E3409A8AC9C741CB580004BA0895@nwhqsemail01.WSDOT.LOC>  <461D6DBB.1000301@cygwin.com> <BF28B531A8C7E3409A8AC9C741CB580004BA08C3@nwhqsemail01.WSDOT.LOC>  <461D7F29.10405@cygwin.com> <BF28B531A8C7E3409A8AC9C741CB580004BA0932@nwhqsemail01.WSDOT.LOC>  <014a01c77d17$0206ac20$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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

On Thu, 12 Apr 2007, Dave Korn wrote:

> [snip]
>   This means that tar.exe has been unpacked into C:\cygwin\usr\bin.
> That's why setup thinks it's installed.

Not quite.  Setup only uses /etc/setup to find out what packages are
installed.  I suspect a corrupt package instead.  That is not to say that
WinZip should ever be used to install Cygwin packages, or course.

>   The fix would be to go into your C:\cygwin\usr directory, using a DOS
> shell or windows explorer, and delete the bin dir.

Or go to /cygdrive/c/cygwin/usr from a Cygwin shell and use Cygwin to do
this. :-)

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

To the OP: you will need to tell setup to reinstall the tar package
(preferably from a different mirror than you've used in the past).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

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

