X-Spam-Check-By: sourceware.org Message-ID: <461D7F29.10405@cygwin.com> Date: Wed, 11 Apr 2007 20:36:57 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: bash: tar: command not found References: <461D6DBB DOT 1000301 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Cheney, Christian wrote: >>> Look in '/etc/postinstall' and see if there are any scripts there >>> that don't end in ".done". > There are none > >>> Also, check '/var/log/setup.log.full' for any messages that would >>> indicate the problem. > I can't see anything. Take a look. > >>> In the worst case, you can try running each of the scripts >>> in '/etc/postinstall' manually. > > $ bash -rcfile tar.sh.done > install-info: menu item `tar' already exists, for file `tar' > install-info: menu item `tar' already exists, for file `tar' > > cheneyc AT NW33687L /cygdrive/c/cygwin/etc/postinstall > $ tar > bash: tar: command not found > > Interestingly enough, I went to the installation file to check to see if > I could manually unzip tar.exe to the /bin directory. After running > bunzip2 on the tar-1.16.1-1.tar.bz2, I opened the resulting > tar-1.16-1.tar file in winzip. I tried to extract the tar.exe file, and > it gave me a "Cannot copy file: Cannot read from the source file or > disk" error. This is in contrast to what happens when I manually > extract the rmt.exe file, which gives me no error. I can send you the 2 > MB file if you want. Don't extract things using non-Cygwin tools unless you really know what you're doing (or have been told to do so). You can make a real mess doing this. If you're saying by the above that you have c:\cygwin\bin\bunzip2.exe and can run it from the shell the same way as you are attempting to run 'tar', then I would say that you have a bad tar package. Try installing it from a different mirror and see if that helps. FWIW, 'setup.exe' reports 'tar-1.16.1-1.tar.bz2' as a 696K file. -- 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? -- 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/