gzip: stdin: not in gzip format   tar: Child returned status 1   tar: Error is not recoverable: exiting now

在解压tar.gz文件的时候报错
  [Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz
  gzip: stdin: not in gzip format
  tar: Child returned status 1
  tar: Error is not recoverable: exiting now
  原因是这个压缩包没有用gzip格式压缩,所以不用加z指令
  [Sun@localhost Downloads]$ tar -xvf clion-141.351.4.tar.gz
  这样就可以了
  解决方法二:
  1:把下载下来的文件重命名: mv apache-tomcat-6.0.26.tar.gz apache-tomcat-6.0.26.tar
  2:再执行解压命令: tar -zxvf apache-tomcat-6.0.26.tar
  上面就是Linux解压tar.gz文件出错的解决方法介绍了,只要知道tar.gz文件出错的原因,就能快速解决问题,本文提供了两种方法供你选择。

The last modification time is:June 1st, 2017 at 07:46 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment