欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

linux解压“gzip: stdin: unexpected end of file tar: Unexpected EOF in archive报错

程序员文章站 2022-05-30 16:39:51
...

linux解压“gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now”报错

1、解压文件

// An highlighted block
[[email protected] ~]# tar zxf httpd-2.4.46.tar.gz
// An highlighted block
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

2、要在临时文件里寻找

// An highlighted block
[[email protected] ~]# cd /tmp/VMwareDnD/

在下面几个目录中寻找压缩包

// An highlighted block
[[email protected] VMwareDnD]# ls
5IGzsB  bnF25L  fvHgL1  PsArUB  QLTQxt  s02GPh
// An highlighted block
[[email protected] VMwareDnD]# ls fvHgL1/
httpd-2.4.46.tar.gz

3、进入目录进行解压

// An highlighted block
[[email protected] VMwareDnD]# cd fvHgL1/
[[email protected] fvHgL1]# ls
httpd-2.4.46.tar.gz
[[email protected] fvHgL1]# tar zxf httpd-2.4.46.tar.gz 
[[email protected] fvHgL1]# 

相关标签: linux 运维