当前位置:   article > 正文

(已解决)装入归档文件时出现了一个错误,End-of-central-directory signature not found._end-of-central-directory signature not found. eith

end-of-central-directory signature not found. either this file is not a zipf
$ unzip 2.4.10.zip
Archive:  2.4.10.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 2.4.10.zip or
        2.4.10.zip.zip, and cannot find 2.4.10.zip.ZIP, period.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

尝试过直接提取到此处和用unzip命令解压压缩包,均失败。
可尝试用jar xvf filename.zip来进行解压
若提示jar:Command not found,则ubuntun下使用:sudo apt-get install -f jar,
运行结果如下图所示。

$ jar xvf 2.4.10.zip
  已创建: opencv-2.4.10/
  已解压: opencv-2.4.10/.tgitconfig
  已创建: opencv-2.4.10/3rdparty/
  已创建: opencv-2.4.10/3rdparty/ffmpeg/
  已解压: opencv-2.4.10/3rdparty/ffmpeg/ffmpeg_version.cmake
已提取: opencv-2.4.10/3rdparty/ffmpeg/ffopencv.c
  已解压: opencv-2.4.10/3rdparty/ffmpeg/make.bat
  已解压: opencv-2.4.10/3rdparty/ffmpeg/opencv_ffmpeg.dll
  已解压: opencv-2.4.10/3rdparty/ffmpeg/opencv_ffmpeg_64.dll
  已解压: opencv-2.4.10/3rdparty/ffmpeg/readme.txt
  已创建: opencv-2.4.10/3rdparty/include/
  已创建: opencv-2.4.10/3rdparty/include/dshow/
  已解压: opencv-2.4.10/3rdparty/include/dshow/_mingw_dxhelper.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/_mingw_unicode.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/amvideo.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/audevcod.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/bdatypes.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/control.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/ddraw.h

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

*****2021.01.30更新
也有可能是因为没安装解压软件:)

1、压缩功能
安装 sudo apt-get install rar
卸载 sudo apt-get remove rar
2、解压功能
安装 sudo apt-get install unrar
卸载 sudo apt-get remove unrar
压缩解压缩.rar
解压:rar x FileName.rar
压缩:rar a FileName.rar DirName
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/686528
推荐阅读
相关标签
  

闽ICP备14008679号