delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/12/12:35:00

X-Spam-Check-By: sourceware.org
Date: Thu, 12 Apr 2007 12:34:25 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dave DOT korn AT artimi DOT com>
cc: cygwin AT cygwin DOT 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 AT nwhqsemail01 DOT WSDOT DOT LOC> <461D6DBB DOT 1000301 AT cygwin DOT com> <BF28B531A8C7E3409A8AC9C741CB580004BA08C3 AT nwhqsemail01 DOT WSDOT DOT LOC> <461D7F29 DOT 10405 AT cygwin DOT com> <BF28B531A8C7E3409A8AC9C741CB580004BA0932 AT nwhqsemail01 DOT WSDOT DOT LOC> <014a01c77d17$0206ac20$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
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

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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/

- Raw text -


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