Bug 13636 - unzip: bad length
Summary: unzip: bad length
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.32.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-22 07:41 UTC by heitbaum
Modified: 2021-04-14 19:17 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heitbaum 2021-03-22 07:41:18 UTC
See error on unzipping this file, unzip test from Ubuntu and unzip were fine.
Md5sums match though.

File can be got from : https://coral.ai/docs/dev-board/get-started/ 

https://mendel-linux.org/images/enterprise/eagle/enterprise-eagle-flashcard-20210204152958.zip

BUSYBOX
nuc11:~ # unzip enterprise-eagle-flashcard-20210204152958.zip
Archive:  enterprise-eagle-flashcard-20210204152958.zip
  inflating: enterprise-eagle-flashcard-20210204152958/flashcard_arm64.img
unzip: bad length
unzip: short read
nuc11:~ # unzip -v 
BusyBox v1.32.1 (2021-03-20 10:18:19 UTC) multi-call binary.

Usage: unzip [-lnojpq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]

Extract FILEs from ZIP archive

        -l      List contents (with -q for short form)
        -n      Never overwrite files (default: ask)
        -o      Overwrite
        -j      Do not restore paths
        -p      Print to stdout
        -q      Quiet
        -x FILE Exclude FILEs
        -d DIR  Extract into DIR

nuc11:~ # md5sum enterprise-eagle-flashcard-20210204152958/flashcard_arm64.img 
4341d9d1a6909051893c703d16530473  enterprise-eagle-flashcard-20210204152958/flashcard_arm64.img << busybox

REFERENCE UNZIPPED FILE FROM UBUNTU
nuc11:~ # md5sum flashcard_arm64.img 
4341d9d1a6909051893c703d16530473  flashcard_arm64.img << Ubuntu unzip
Comment 1 Denys Vlasenko 2021-04-14 19:17:06 UTC
Fixed in git.