Home  >  Q&A  >  body text

linux - unzip命令出错 End-of-central-directory signature not found

在linux上部署服务,之前部署都没问题,这次不知道为什么上传zip包后用unzip解压提示End-of-central-directory signature not found的错误,我服务器目录下可以看到上传的zip包。网上搜了下说什么文件太大造成解压失败,但是我的文件只有1M多,以前都没出现过这个情况,有人知道可能是什么原因吗?

天蓬老师天蓬老师2744 days ago989

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-17 16:12:44

    Calculate the MD5 value of the zip package before and after you upload it. If it is inconsistent, upload it again and decompress it

    reply
    0
  • PHPz

    PHPz2017-04-17 16:12:44

    1. The compressed package may be damaged
    2. It may not be a .zip compressed file
    3. Try to use jar xvf

    reply
    0
  • Cancelreply