DaHai8
Posts: 55
Joined: Fri Jul 31, 2015 9:21 am

Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 6:06 am

I've tried to download the latest release of Raspbian three times now and each time it it is corrupt.

The SHA-1 checksum does not match at the img file is 807,167,523,358,810 bytes in size!

https://www.raspberrypi.org/downloads/raspbian/


Intervention by moderator:
Everybody who uses a classical unzipped will have problems unzipping a file larger than 4GB, as this image of Raspbian is. You need a (free) unzipper that can cope with ≥ 4GB files, like 7-zip. The problem will probably be solved in the next release, by shrinking the image to below 4GB.
P.S. The problem does NOT inflict the NOOBS installer which is much smaller, so NOOBS installers have no problems!
Mahjongg October 7, 2015

User avatar
rpdom
Posts: 11569
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 6:24 am

DaHai8 wrote:The SHA-1 checksum does not match at the img file is 807,167,523,358,810 bytes in size!
The SHA1 checksum is for the zip file, not the unzipped image, but it does look like you have a problem.

The zip file should be 1,038,523,231 bytes and unzip to 3,276,800,000

GMan2XS
Posts: 7
Joined: Tue Sep 18, 2012 3:44 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:19 pm

I have a similar problem. I downloaded the Raspbian Jessie zip file & the SHA1 check matched. However when I tried to extract the image I got this:
Attachments
jessie.png
jessie.png (32.12 KiB) Viewed 13418 times

User avatar
PeterO
Posts: 3616
Joined: Sun Jul 22, 2012 4:14 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:35 pm

All seem fine here !

Code: Select all

-rw-r--r-- 1 sheepdip sheepdip 3276800000 May  7 01:00 2015-05-05-raspbian-wheezy.img
-rw-r--r-- 1 sheepdip sheepdip 4325376000 Sep 24 16:14 2015-09-24-raspbian-jessie.img
-rw-r--r-- 1 sheepdip sheepdip 1038523231 Sep 29 13:24 2015-05-05-raspbian-wheezy.zip
-rw-r--r-- 1 sheepdip sheepdip 1332985725 Sep 29 13:31 2015-09-24-raspbian-jessie.zip
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
RaTTuS
Posts: 9495
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:39 pm

Ih ave to say I also get the same - it's probably a bad mirror
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:44 pm

I can confirm that windows explorer seems to think the file inside is massive. 7zip works fine

Some linux users have also reported problems.

Pi-Plates
Posts: 19
Joined: Sun Feb 08, 2015 12:34 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:48 pm

Same problem here using windows 7 as of 8:30AM EDT. ZIP file is small enough but when I try to copy the contents to another folder it says it needs 734 PB.

User avatar
PeterO
Posts: 3616
Joined: Sun Jul 22, 2012 4:14 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 12:52 pm

ShiftPlusOne wrote:I can confirm that windows explorer seems to think the file inside is massive. 7zip works fine

Some linux users have also reported problems.
To be clear, you are saying that some tools give wrong size but others give correct size using the same .zip file ?
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
RogerW
Posts: 255
Joined: Sat Dec 20, 2014 12:15 pm
Location: London UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:00 pm

Windows 10 reports the zip file as 1,301,744KB and the IMG file as 4224,000KB. I put it on an SD card and it seems to boot and run ok but I am having problems with apt-get which are probably unrelated.
How do you check the SHA-1?

User avatar
RaTTuS
Posts: 9495
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:01 pm

ShiftPlusOne wrote:I can confirm that windows explorer seems to think the file inside is massive. 7zip works fine

Some linux users have also reported problems.
I can confirm this
built in windows unzipper goes bad
everything else works a treat [so far]
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:11 pm

PeterO wrote:
ShiftPlusOne wrote:I can confirm that windows explorer seems to think the file inside is massive. 7zip works fine

Some linux users have also reported problems.
To be clear, you are saying that some tools give wrong size but others give correct size using the same .zip file ?
PeterO
Yup, and apparently the built in Mac thing has trouble with it as well. Might be a format version that's newer than what those tools support or something.

Looking into getting a fixed archive up.

plugwash
Forum Moderator
Forum Moderator
Posts: 3224
Joined: Wed Dec 28, 2011 11:45 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:31 pm

If the file inside the zip is over 4GB then the resulting zip file will be in "zip64" format rather than the traditional zip format. It doesn't surprise me that some tools fail at handling this.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:51 pm

Well this is fun... if you use default tools to compress it in Windows, Mac will complain. If you compress it on a Mac, Windows will complain. If you compress it in Linux, Mac and Windows will both complain. I guess the next image will need to be a bit smaller to avoid this happening again.

User avatar
fruitoftheloom
Posts: 14685
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 1:56 pm

ShiftPlusOne wrote:Well this is fun... if you use default tools to compress it in Windows, Mac will complain. If you compress it on a Mac, Windows will complain. If you compress it in Linux, Mac and Windows will both complain. I guess the next image will need to be a bit smaller to avoid this happening again.
So the answer is 7 ZIP ??

http://www.7-zip.org/download.html
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 2:47 pm

Yeah, and 'The Unarchiver' on Macs.

User avatar
fruitoftheloom
Posts: 14685
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 2:52 pm

ShiftPlusOne wrote:Yeah, and 'The Unarchiver' on Macs.
There is an unofficial 7Zip for OSX in the link I posted :)
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 2:54 pm

Ah, didn't scroll down far enough. :oops:

gordon77
Posts: 2980
Joined: Sun Aug 05, 2012 3:12 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 2:58 pm

RaTTuS wrote:
ShiftPlusOne wrote:I can confirm that windows explorer seems to think the file inside is massive. 7zip works fine

Some linux users have also reported problems.
I can confirm this
built in windows unzipper goes bad
everything else works a treat [so far]
I downloaded the zip, used Win10 File Explorer, Right clicked on the zip and 'extract all', no issues...

Massi
Posts: 1622
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 3:01 pm

gordon77 wrote:Win10 File Explorer
win7 file explorer is buggy (a HUGE img file :))

bfinio
Posts: 35
Joined: Mon Oct 14, 2013 8:53 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 3:29 pm

Just wanted to jump in to say that I had the same issue in Windows 7 as of 11:30AM on Sept. 29th. File Explorer wouldn't extract the .zip file, gave an error that it needed 734 PB. Downloaded 7zip and used that instead, worked fine.

proudindiv
Posts: 3
Joined: Sat Mar 28, 2015 10:04 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 5:23 pm

rpdom wrote:
DaHai8 wrote:The SHA-1 checksum does not match at the img file is 807,167,523,358,810 bytes in size!
The SHA1 checksum is for the zip file, not the unzipped image, but it does look like you have a problem.

The zip file should be 1,038,523,231 bytes and unzip to 3,276,800,000
Correct, that works. I used 7z on windows 7 and the ubuntu extractor and both worked. Windows 7 explorer can't extract it. Thanks.

proudindiv
Posts: 3
Joined: Sat Mar 28, 2015 10:04 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 5:25 pm

Massi wrote:
gordon77 wrote:Win10 File Explorer
win7 file explorer is buggy (a HUGE img file :))
Correction: all Microsoft products are buggy. FTFY
That's why we prefer Linux.

GMan2XS
Posts: 7
Joined: Tue Sep 18, 2012 3:44 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 5:27 pm

Did not want to install any more software on my laptop so moved the zip file to a NAS & then used unzip on a Pi2 to inflate the image, took a few minutes, but that is presumably because of the 100Mbps networking restriction. Worked fine.
Last edited by GMan2XS on Tue Sep 29, 2015 5:48 pm, edited 1 time in total.

MrEngman
Posts: 3563
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 5:35 pm

After seeing the various issues above I tried using Windows Explorer to see what would happen and it unzipped OK on my Win 7 Ultimate 64bit.

But I also have an up to date version of Winzip which I normally use which has no problems with this large file.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
mad-hatter
Posts: 419
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the UK seaside

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 6:38 pm

Hello,

This problem with Winzip, depends on which version you have, and 32 or 64 bit systems.
http://kb.winzip.com/kb/entry/99/
Original limitations

The maximum file size made possible by the original, open source Zip file specification was 4 gigabytes. This limit applied both to the uncompressed and compressed sizes of files inside Zip files, and also to the total size of a Zip file itself. Specifically, this 4 gigabyte limit applied to WinZip 8.1 and earlier.

If you tried to zip a file larger than 4 gigabytes, WinZip versions earlier than WinZip 9.0 would issue the following message:
The file is too big to be stored in a Zip file and will be skipped.

These older WinZip versions were also limited as to the number of files and folders that could be zipped. The upper number limit was 65,535. This number limit, as well as the size limits above, are both part of the original Zip file format.
Regards

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests