ubuntu zip文件解压失败

Linux zip文件解压报错。archive manager解压提示:An error occurred while loading the archive

使用命令行解压:unzip /root/Downloads/12306-master.zip

报错信息如下:

Archive:  /root/Downloads/12306-master.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 /root/Downloads/12306-master.zip or
        /root/Downloads/12306-master.zip.zip, and cannot find /root/Downloads/12306-master.zip.ZIP, period.

解决办法:这种报错信息,一般是由于上传或者下载文件过程中出错,导致文件不完整。通过重新上传或下载源文件,再使用unzip命令解压即可。

你可能感兴趣的:(Ubuntu,zip,解压失败)