delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/20/17:08:38

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:message-id:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
q=dns; s=default; b=CfUWojXpQjsmbAcOzdssVqJSOXRKTczNDPX2hNonO6b
OMvosrYhu2sbg0Hyde0+I8HRGHo0MAyagAcs0HoOszvGGnibUSA2C9z+TTTU3m7v
396keZWMTt4KOB+6ScA7UxcY/ik3inP/awrTtJgyEexbBLFkXzrep/8cBGz1mlyU
=
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:message-id:from:to:subject:date:in-reply-to
:references:content-type:content-transfer-encoding:mime-version;
s=default; bh=IWKrUuGfDgGj+NeEluCqpRkV/9E=; b=KU4loA7ZhaKtGceuD
IYB3NCHG6eFrlAJmCuC5j1oux5xS8NqkS5xWKDjrQaAZWX6a66say9qiHRCv2fdR
xGhrMMul52NbQPjlvQoi0XHCxyRnM7ze282kXyI60InCStuBQmKW8HDh1A6ihRZU
AukRyzQNOxulFKbX9J7OciBsgU=
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=4.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,KAM_BODY_URIBL_PCCC,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: COL004-OMC1S14.hotmail.com
X-TMN: [PhUMQNd4QdzT/nv62/AB+ktN9t9oRoCe]
Message-ID: <COL130-W65B445CB84F1010DEEDA6EC2E00@phx.gbl>
From: Murthy Gandikota <murthy64 AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: tar zxvf won't work with Redhat generated compressed tar file
Date: Mon, 20 Apr 2015 21:08:21 +0000
In-Reply-To: <509379965.20150420235036@yandex.ru>
References: <COL130-W80F61D41DBC766A5C40206C2E00 AT phx DOT gbl>,<969800560 DOT 20150420222609 AT yandex DOT ru> <COL130-W78804B6BA04135A92CC2FAC2E00 AT phx DOT gbl>,<509379965 DOT 20150420235036 AT yandex DOT ru>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t3KL8ZhS019625


----------------------------------------
> Date: Mon, 20 Apr 2015 23:50:36 +0300
> From: anrdaemon AT yandex DOT ru
> To: murthy64 AT hotmail DOT com; cygwin AT cygwin DOT com
> Subject: Re: tar zxvf won't work with Redhat generated compressed tar file
>
> Greetings, Murthy Gandikota!
>
> Please don't top-post. Thank you.
> And please no cleartext emails in quoted text.
>
>>>> 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?
>>>
>>> tar xvf mytar.gz
>>>
>>> I.e. drop filter spec.
>>> tar is smart enough to detect and apply known filters automatically.
>
>
>> I see same error
>
>> $ tar xvf mytar.gz
>> tar: This does not look like a tar archive
>> tar: Skipping to next header
>> tar: Exiting with failure status due to previous errors
>
> Then what makes you think it is actually a tar archive?
> What
>
> gunzip> mytar < mytar.gz; file mytar
>
> says?
>
>
> --
> With best regards,
> Andrey Repin
> Monday, April 20, 2015 23:47:50
>
> Sorry for my terrible english...
>
>
> --
> 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


Sorry, didn't notice the top-posting.... here is the  output to the command

mytar: gzip compressed data, last modified: Tue Mar 24 03:50:58 2015, from Unix

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


- Raw text -


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