红联Linux门户
Linux帮助

tar报错gzip: stdin: not in gzip format

发布时间:2015-11-11 15:49:37来源:linux网站作者:人生不断学习

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

然后就报这个错。

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


解决方案:压缩包没有用gzip格式压缩, 所以解压的时候也不用加上z。直接tar -jxvf 就可以了。


tar解压问题gzip: stdin: not in gzip format:http://www.linuxdiyf.com/linux/14458.html

Linux tar解压命令总结:http://www.linuxdiyf.com/linux/2903.html

tar解压出错:gzip: stdin: unexpected end of file的解决办法:http://www.linuxdiyf.com/linux/13440.html