爱程序网

tar 报错gzip: stdin: not in gzip format

来源: 阅读:

今天在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 就可以了。

关于爱程序网 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助