If I understand correctly...
Even though the gzip utility understands tar.Z, it doesn't meant the 
tar understands .Z.

When you run "tar -xzf" tar expects a gzip format file and does the 
unzip itself.  I don't think it actually executes the gzip command.

"tar -xzf" is not equal to "gunzip -c file.Z | tar -xf -"



At 9:05 AM -0500 6/15/02, James Beckett wrote:
>I checked on the gzip web site. the user manual overview indicates 
>that tar.Z is supported by the latest gzip utility.
>
>Having found this out.
>
>The question remains:  why won't gzip finish unpacking this file?
>
>Jim
>
>Roger Fischer wrote:
>
>>At 8:21 AM -0500 6/14/02, James Beckett wrote:
>>
>>>I tried that. I error out at the same point:  gzip: stdin: not in 
>>>gzip format  and tar fails.
>>>
>>>Note that Stephano reported the same error. tar would not unpack the file.
>>>
>>>"tar -xvzf /sw/src/nedit-5.2RC1-src.tar.Z
>>>
>>>gzip: stdin: not in gzip format
>>>tar: Child returned status 1
>>>tar: Error exit delayed from previous errors
>>>### tar failed, exit code 2 "
>>
>>
>>The error is in the top line "gzip: stdin: not in gzip format".
>>
>>.Z is unix compress, not gzip.
>>
>>Try using uncompress and then untar the file.
>>
>>% uncompress /sw/src/nedit-5.2RC1-src.tar.Z
>>% tar -xvf /sw/src/nedit-5.2RC1-src.tar


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to