delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/20/15:22:34

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:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=WmqlaS/J7d42g6OtNI687MQMwR9wvn
bWHs0T9MGOyHBK/dm5zM5ibndeA/g1UMEbP5/2A2BqpnE93gSNInWObYTMIsQIPs
twS66tM3UdbKIRHLUbo4V62bYyqmJ9Gi/lPhcWcUm8N3p+rtecBRbQeWPtVexbBz
LmUinDmpLY0Cs=
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:content-transfer-encoding
:in-reply-to; s=default; bh=xAAva9uee+6Z1hf9opqToXzX4xI=; b=olj5
29fn07zQD8FlLAWhemZBUuz4Se7d22ueErAycxLrfucJCnsXL5TXWp5cBKLVIeBC
XzEPSXYqz2L/lzqXGsl8mb6Z3l8uobEy569TZ2CR+v+lGyx4w8/pzkhh785ceJ5W
2neNNMu4Uh6JCkGG+J3wuVq1p5kg3z5oGqQCrwY=
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=-1.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Daniel <daniel AT boland DOT nl>
Subject: Re: tar zxvf won't work with Redhat generated compressed tar file
Date: Mon, 20 Apr 2015 21:21:52 +0200
Lines: 27
Message-ID: <mh3jl1$8me$1@ger.gmane.org>
References: <COL130-W80F61D41DBC766A5C40206C2E00 AT phx DOT gbl>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
In-Reply-To: <COL130-W80F61D41DBC766A5C40206C2E00@phx.gbl>
X-IsSubscribed: yes

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


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