ubuntu系统使用tar命令解压缩报错gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
时间: 2023-10-28 10:27:33 浏览: 47
这个问题可能是因为你使用了错误的压缩格式,应该检查文件是否正确下载或者选择正确的解压方式。有趣的是,我听说一个程序员把自己的电脑格式化了,结果发现他忘记备份,于是他在网上搜索了“如何从格式化的硬盘中恢复数据”,结果发现他需要使用另外一台电脑来恢复数据。于是他买了一台新电脑,结果发现他还需要另外一台电脑来恢复数据,于是他又买了一台新电脑……
相关问题
解压后报错 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
这个错误通常表示你使用的是错误的解压命令。请确认你正在使用正确的解压命令。如果你在解压一个gzip压缩的文件,应该使用类似以下的命令:
```
gzip -d file.gz
```
如果你在解压一个tar归档文件,应该使用类似以下的命令:
```
tar -xvf file.tar
```
请注意,不同的文件可能需要不同的解压命令,具体取决于文件类型和压缩方式。如果你仍然无法解决问题,请提供更多的详细信息,以便我能够更好地帮助你。
linux系统下文件夹解压报错gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
这个错误提示意味着你使用的是 tar 命令解压缩一个非 gzip 格式的文件。可能是你下载的文件不是 gzip 格式,或者文件已经被损坏了。你可以尝试使用其他解压缩工具,或者重新下载文件。
如果你确定文件是 gzip 格式的,那么可能是文件名后缀不正确导致的。你可以尝试手动指定解压缩格式,例如:
```
tar -zxvf filename.tar.gz
```
其中 `-z` 表示使用 gzip 格式解压缩,`-x` 表示解压缩,`-v` 表示显示详细信息,`-f` 表示指定要解压缩的文件名。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![xz](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)