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

Posted chai-

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting 相关的知识,希望对你有一定的参考价值。

今天也是像往常一样,我打开虚拟机想测试一个高版本的nginx,按部就班的下载,解压,但是和往常不一样的是,这次有报错,很高兴,又能学习到新东西了。下面一起来看看吧!

[[email protected] tools]# tar xf nginx-1.12.2.tar.gz

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

tar 解不开压缩包,很奇怪。于是我查看这个文件的属性

[[email protected] tools]# file nginx-1.12.2.tar.gz
nginx-1.12.2.tar.gz: UTF-8 Unicode English text, with very long lines, with CRLF, CR line terminators, with escape sequences, with overstriking

哎,奇怪了,竟然不是压缩格式,到底是哪里出了问题呢?左思右想,呀 是这里,上传的时候点了CRT工具的传输,选了传输格式,所以导致了文件格式发生变化。正常的格式应该是

[[email protected] tools]# file nginx-1.6.3.tar.gz
nginx-1.6.3.tar.gz: gzip compressed data, from Unix, last modified: Tue Apr  7 23:58:53 2015

怎么恢复呢?是一个问题,我选择了重新下载!








以上是关于gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting 的主要内容,如果未能解决你的问题,请参考以下文章

tar解压提示 gzip: stdin: not in gzip format

tar解压包的时候出现错误 gzip: stdin: not in gzip format

解压.tar.gz出错gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is not recoverab

加压压缩文件报错gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable:

tar命令--数据解档解压.tar.gz文件报错 gzip:stdin:not in gzip format

memcached解压报错gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recovera