首页 > 代码库 > Linux 使用unzip解压时报错End-of-central-directory signature not found
Linux 使用unzip解压时报错End-of-central-directory signature not found
Linux 下,使用unzip解压时,报错:
$ unzip abc.zip
Archive: abc.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 abc.zip or
abc.zip.zip, and cannot find abc.zip.ZIP, period.
用jar 来解
$ jar xvf abc.zip
如果出现
jar:Command not found
要用yum下载
$ yum -y install java-1.6.0-openjdk-devel
安装时间也就两三分钟
安装完毕再次运行
再次运行
$ jar xvf abc.zip
$ unzip abc.zip
Archive: abc.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 abc.zip or
abc.zip.zip, and cannot find abc.zip.ZIP, period.
用jar 来解
$ jar xvf abc.zip
如果出现
jar:Command not found
要用yum下载
$ yum -y install java-1.6.0-openjdk-devel
安装时间也就两三分钟
安装完毕再次运行
再次运行
$ jar xvf abc.zip
Linux 使用unzip解压时报错End-of-central-directory signature not found
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。