This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: tar zxvf won't work with Redhat generated compressed tar file


I have an old CentOS system, so I copied an existing gzipped tarball from it to my Cygwin and had no difficulties exploding that file.  It had extension '.tgz'.  Copied it to '.tar.gz' and still had no issue with it.

What version of RedHat are you using, and what command(s) created the compressed tarball you're having difficulty with?  

If you run the 'file' command on the tarball file, what does 'file' say it contains?

rake-0.8.4.tar.gz: gzip compressed data, last modified: Wed Mar  4 07:31:25 2009, from Unix

Note that some flavors of tar don't have a very powerful compression library, and some don't have one at all.  For those old ones you may be forced to use gunzip to get the tarball into a form the old tar understands.  (My ancient CentOS box has it, though.)



-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Murthy Gandikota
Sent: Monday, April 20, 2015 14:03
To: Bertrand Caplet; cygwin@sourceware.org
Subject: RE: tar zxvf won't work with Redhat generated compressed tar file

Got this message from my upstream Linux sender

Please try as well but I previously tried renaming the .tar to .tar.gz (this is an old Linux issue - not knowing a .tar was compressed unless it had .gz too - that I haven't seen required in years) - this had no impact.

----------------------------------------
> Date: Mon, 20 Apr 2015 21:00:34 +0200
> From: bertrand.caplet@chunkz.net
> To: cygwin@cygwin.com
> Subject: Re: tar zxvf won't work with Redhat generated compressed tar 
> file
>
>> Did you mean tar zcvf ? It still doesn't work on RedHat and Cygwin64.
>
> Yes, I meant this. What does not work ? Do you have a error message ?
>
> --
> CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, 
> Flers (FR) Feel free to send encrypted/signed messages Key ID: 
> 37F70C30 GPG FP: 134A 4027 518B 5F4D D409 558D BA9B 7BF0 37F7 0C30
>
 		 	   		  
--
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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]