Error: start of central directory not found; zipfile corrupt.

【报错】使用 unzip 指令在 AutoDL 上解压 .zip 文件时遇到 Error: start of central directory not found; zipfile corrupt. 报错:
Error: start of central directory not found; zipfile corrupt._第1张图片
重新上传后还是解压失败排除了 .zip 文件上传中断的问题。

【原因】Windows 和 Linux 下的压缩文件的二进制格式有所不同,因此在 Windows 下压缩的 .zip 文件上传到 Linux 系统并解压时就可能出现问题。

【解决办法】更换压缩软件,或者在 WSL2 中进行压缩。也可以直接使用 FileZilla 上传文件夹 1,避免了压缩文件的问题。


  1. FileZilla ↩︎

你可能感兴趣的:(Bugs,zipfile,bug)