X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; q=dns; s=default; b=PZrBk4IMwtTA0KWJ BvQ2s97x8cpqU3d5mXJdP3zn/BfO6AeRG2m632VjM6M9yIcaJ4CTTJIvpjPPZQJS ZLhKQ//UFnQ4C+gId6aD1UE0dVqONLF3Y9W1+4ZpLeCoCGdMy907UH7Hzfuzj9Ek 0Z7QwgdxVYYL86/EyW7xrTlhVBw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type; s=default; bh=ZWkEPw1dwXR8tCMuV4TcBA uHNvg=; b=eK8EfKHgVLHAoAgOJmblt5LWhH9dw4lRCqEauGpK640DCVok6d1a3I 5GuX95T+I2jt6/Wrt2yJDteXb9ALfONvr4yl5p9aKhAzOcZu1qOSH78YNPmbm7xz FegGHbHauJ4MDE0FKoqCQWSuRSM0tyJBIAnb2FlskZPsGhYBz6doc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: dboyd2 AT mmm DOT com (J. David Boyd) Subject: Re: tar zxvf won't work with Redhat generated compressed tar file Date: Mon, 20 Apr 2015 15:35:53 -0400 Lines: 37 Message-ID: <gjub4moaa8yu.fsf@W0144758.usac.mmm.com> References: <COL130-W80F61D41DBC766A5C40206C2E00 AT phx DOT gbl> <mh3jl1$8me$1 AT ger DOT gmane DOT org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (cygwin) X-IsSubscribed: yes Daniel <daniel AT boland DOT nl> writes: > Murthy Gandikota wrote: >> Hi All >> >> I am using Cygwin64. I am getting a file from RedHat in tar + zip format. Currently I am able to unzip it and untar it in 2 steps as follows: >> >> $gunzip mytar.gz >> $tar xvf mytar >> >> However, I would like to do the following: >> >> $tar -zxvf mytar.gz >> >> The error message I see is: >> >> tar: This does not look like a tar archive >> tar: Skipping to next header >> tar: Exiting with failure status due to previous errors >> >> >> Can someone please tell me what is the right way? >> >> Thanks > > One way to get this error if you download the file through a gzipping > proxy web-server. So you have to drop the 'z' when unzipping. > > Daniel I think everyone might be misreading. He can extract every thing completely successfully if he breaks it into 2 commands. It is when he tries to have tar call gzip that it fails. Are there any known bugs like that in the 64 bit cygwin tree? Dave -- 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