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

it2023-04-12  73

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、解压文件

[root@apache ~]# tar zxf httpd-2.4.46.tar.gz gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now

2、要在临时文件里寻找

[root@apache ~]# cd /tmp/VMwareDnD/

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

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

3、进入目录进行解压

[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]#
最新回复(0)