今天在linux下 用tar -zxvf openfire_4_0_2.tar.gz

然后就报这个错。

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

tar 报错gzip: stdin: not in gzip format_openfire

 

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

 

tar 报错gzip: stdin: not in gzip format_压缩包_02