当前位置: 代码迷 >> 综合 >> Centos7使用unzip解压文件时报错:Archive: vulhub-master.zip End-of-central-directory signature not found
  详细解决方案

Centos7使用unzip解压文件时报错:Archive: vulhub-master.zip End-of-central-directory signature not found

热度:32   发布时间:2024-02-24 22:24:23.0

报错信息如下:
Archive: vulhub-master (1).zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of vulhub-master (1).zip or
vulhub-master (1).zip.zip, and cannot find vulhub-master (1).zip.ZIP, period.
如图所示:
在这里插入图片描述

**

解决方法:

**
使用命令安装jar工具:
yum -y install java-1.6.0-openjdk-devel

安装完成后使用命令解压:jar xvf 要解压的文件名
解压成功:
在这里插入图片描述
PS:本方法只针对Centos7.

  相关解决方案