博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu unzip解压时提示错误 解决方法
阅读量:4155 次
发布时间:2019-05-26

本文共 1327 字,大约阅读时间需要 4 分钟。

本文转自:http://blog.sina.com.cn/s/blog_621f9b1101012b3x.html

data.zip文件有4G多,解压的时候出问题了.

  1. Archive:  data.zip
  2.   End-of-central-directorysignature not found.  Either thisfile is not
  3.   a zipfile, or itconstitutes one disk of a multi-partarchive.  In the
  4.   latter case the centraldirectory and zipfile comment will be found on
  5.   the last disk(s) of thisarchive.
  6. unzip:  cannot find zipfiledirectory in one of bbs.zip or
  7.        data.zip.zip,and cannot find data.zip.ZIP, period.

出现这种情况,需要使用 7zip来解压

  1. wgethttp://downloads.sourceforge.net/project/p7zip/p7zip/9.13/p7zip_9.13_src_all.tar.bz2?r=http://sourceforge.net/projects/p7zip/files/&ts=1283040874&use_mirror=voxel
  2. tar -jxvf p7zip_9.13_src_all.tar.bz2
  3. cd p7zip_9.13
  4. make
  5. make install

安装完成,

  1. 7za x data.zip

成功了

 Linux 下,使用unzip解压时,报错:
unzip trunk.zip
Archive:  trunk.zip
  End-of-central-directorysignature not found.  Either thisfile is not
  a zipfile, or it constitutesone disk of a multi-partarchive.  In the
  latter case the centraldirectory and zipfile comment will be found on
  the last disk(s) of thisarchive.
unzip:  cannot find zipfiledirectory in one of trunk.zip or
       trunk.zip.zip,and cannot find trunk.zip.ZIP, period.
  文件大小为 2.2G,可能是 unzip 设置了这个限制吧。在网上查到要用 jar 来解
jar xvf trunk.zip
  如果出现
jar:Command not found
  要用yum下载
yum -y install java-1.6.0-openjdk-devel
再次运行
jar xvf trunk.zip
就能成功,看来,unzip局限蛮大的呀。

转载地址:http://gouxi.baihongyu.com/

你可能感兴趣的文章
用go的flag包来解析命令行参数
查看>>
来玩下go的http get
查看>>
队列和栈的本质区别
查看>>
matlab中inline的用法
查看>>
如何用matlab求函数的最值?
查看>>
Git从入门到放弃
查看>>
java8采用stream对集合的常用操作
查看>>
EasySwift/YXJOnePixelLine 极其方便的画出真正的一个像素的线
查看>>
Ubuntu Linux系统下apt-get命令详解
查看>>
ubuntu 16.04 下重置 MySQL 5.7 的密码(忘记密码)
查看>>
Ubuntu Navicat for MySQL安装以及破解方案
查看>>
HTTPS那些事 用java实现HTTPS工作原理
查看>>
oracle函数trunc的使用
查看>>
MySQL 存储过程或者函数中传参数实现where id in(1,2,3,...)IN条件拼接
查看>>
java反编译
查看>>
Class.forName( )你搞懂了吗?——转
查看>>
jarFile
查看>>
EJB与JAVA BEAN_J2EE的异步消息机制
查看>>
数学等于号是=那三个横杠是什么符
查看>>
HTTP协议详解
查看>>