Bug 497482
Summary: | Can not unzip files > 2GB | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Frank Deng <frank.deng> | ||||||||
Component: | unzip | Assignee: | Michal Luscon <mluscon> | ||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | qe-baseos-daemons | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.2 | CC: | bgollahe, jamie.kramer, mesat, rbhatt, rvokal | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2013-03-14 15:55:17 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Frank Deng
2009-04-24 06:40:53 UTC
According to http://www.info-zip.org/UnZip.html, the latest version for unzip is 6.0 and was released 2009-April-20. From the site. ---- Latest Release New features in UnZip 6.0, released 20 April 2009: * Support PKWARE ZIP64 extensions, allowing Zip archives and Zip archive entries larger than 4 GiBytes and more than 65536 entries within a single Zip archive. This support is currently only available for Unix, OpenVMS and Win32/Win64 --- I was just about to post a bug/RFE to get the latest version of unzip into Fedora as well. I need to unzip an archive that is bigger than 4Gig. I see that there is a version of unzip in Fedora 11's update testing that is still 5.52 based. I have downloaded the sources and tested version 6.0 against a dual-layer DVD ISO image. 8209104896 bytes in size. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. I still can't reproduce the issue.. $ dd if=/dev/zero of=big bs=1024k count=3600 $ zip -5 big.zip big $ rm big $ unzip-5.52/unzip big.zip Archive: big.zip inflating: big $ echo $? 0 $ du -h big* 3.6G big 3.5M big.zip $ unzip-5.52/unzip -l big.zip Archive: big.zip Length Date Time Name -------- ---- ---- ---- 3774873600 09-07-11 12:51 big -------- ------- 3774873600 1 file The patches in RHEL-4 are are very different from the patches in RHEL-5, partly because of newer upstream version (unzip 5.51 vs. unzip 5.52). Can you please test the testing/unsupported packages from http://people.redhat.com/vvitek/unzip-5.52-3.0.bz497482.el5_7/ and let me know if it fixes the >2GB problem? Thanks! The bug should be fixed in the testing/unsupported packages provided in comment 10. Can anyone confirm that by testing the packages, or by providing any previously-failing reproducer? Thanks! Created attachment 523179 [details]
Patched unzip-5.52-near-4GB.patch
Created attachment 523180 [details]
unzip-5.52-near-4GB3.patch
Created attachment 523181 [details]
unzip-5.52-near-4GB4-types.patch
I have a 16 GB file that is producing this problem: unzip file.zip error: Zip file too big (greater than 4294959102 bytes) Archive: file.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 file.zip or file.zip.zip, and cannot find file.zip.ZIP, period. This error is produced with the unsupported package from comment 10. It is possible that this specific zip file is corrupt in some other way considering the last part of that message "cannot find zipfile directory..." (In reply to comment #15) > I have a 16 GB file that is producing this problem: > > unzip file.zip > error: Zip file too big (greater than 4294959102 bytes) > Archive: file.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 file.zip or > file.zip.zip, and cannot find file.zip.ZIP, period. > > This error is produced with the unsupported package from comment 10. It is > possible that this specific zip file is corrupt in some other way considering > the last part of that message "cannot find zipfile directory..." Never mind, I apologise for posting prematurely. The zip file in question seems to have some other problem other than being large. (In reply to comment #16) > Never mind, I apologise for posting prematurely. The zip file in question seems > to have some other problem other than being large. Anyway, thanks for your help! Frank (and others involved), can you please test the unsupported package provided in comment 10 and confirm if it fixes the issue for you? Thanks! *** Bug 596291 has been marked as a duplicate of this bug. *** This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. RHEL-5.10 (the next RHEL-5 minor release) is going to be the first production phase 2 [1] release of RHEL-5. Since phase 2 we'll be addressing only security and critical issues. This one issue is fixed in RHEL-6 therefore I am closing the bug as NEXTRELEASE. |