当前位置: 代码迷 >> 综合 >> linux解压“gzip: stdin: unexpected end of file tar: Unexpected EOF in archive报错
  详细解决方案

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

热度:8   发布时间:2024-03-06 13:01:17.0

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
[root@apache ~]# 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
[root@apache ~]# cd /tmp/VMwareDnD/

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

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

3、进入目录进行解压

// An highlighted block
[root@apache VMwareDnD]# cd fvHgL1/
[root@apache fvHgL1]# ls
httpd-2.4.46.tar.gz
[root@apache fvHgL1]# tar zxf httpd-2.4.46.tar.gz 
[root@apache fvHgL1]# 
  相关解决方案