执行脚本程序出现gzip:stdin:not in gzip format的解决方法

 

今天在执行zero_imager的镜像打包脚本时,出现了下面问题:

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

 

 

原因是解压文件系统的压缩包时使用了z指令(压缩包没有用gzip格式压缩)

将z指令去掉就可以了

posted on 2018-04-25 14:25  quinncy  阅读(839)  评论(0编辑  收藏  举报

导航