This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tar zxvf won't work with Redhat generated compressed tar file
- From: dboyd2 at mmm dot com (J. David Boyd)
- To: cygwin at cygwin dot com
- Date: Mon, 20 Apr 2015 15:35:53 -0400
- Subject: Re: tar zxvf won't work with Redhat generated compressed tar file
- Authentication-results: sourceware.org; auth=none
- References: <COL130-W80F61D41DBC766A5C40206C2E00 at phx dot gbl> <mh3jl1$8me$1 at ger dot gmane dot org>
Daniel <daniel@boland.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