tar 报错gzip: stdin: not in gzip format(转载)

转自:http://blog.sina.com.cn/s/blog_6f2274fb0100z026.html

 

今天在linux下 用tar -zxf xxx.tar.bz2

然后就报这个错。

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

一开始我以为是压缩包坏的,去下其他的。下下来也是一样。然后仔细看了一下,原来这个压缩包没有用gzip格式压缩 所以解压的时候也不用加上z 。直接tar -xf 就可以了。

posted on 2013-10-16 15:38  次奥砖家  阅读(222)  评论(0编辑  收藏  举报

导航