码迷,mamicode.com
首页 > 系统相关 > 详细

Linux 使用unzip解压时报错End-of-central-directory signature not found

时间:2014-12-15 15:30:24      阅读:2174      评论:0      收藏:0      [点我收藏+]

标签:liunx unzip   end-of-central-direc   

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

Linux 使用unzip解压时报错End-of-central-directory signature not found

标签:liunx unzip   end-of-central-direc   

原文地址:http://blog.csdn.net/xuke6677/article/details/41943587

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!