unzip Error: End-of-central-directory signature not found

ZIP archive is truncated, corrupted in transit, or actually an HTML/error download.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: unzip Error Platform: Linux
Common Root Causes:
  • ZIP archive is truncated, corrupted in transit, or actually an HTML/error download.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Re-download or verify SHA-256 checksum of the ZIP before extracting.
Safe Diagnostic Command:
file <file.zip> && ls -lh <file.zip>
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

ZIP archive is truncated, corrupted in transit, or actually an HTML/error download. Recommended diagnostic: `file <file.zip> && ls -lh <file.zip>`. Remediation: Re-download or verify SHA-256 checksum of the ZIP before extracting.

Worked Examples

  • Run `file <file.zip> && ls -lh <file.zip>` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-unzip-end-of-central-dir · Independently verified: 2026-11-25

Related Resources