preflex
Posts: 6
Joined: Sun May 05, 2013 6:38 pm

Re: Raspbian Jessie zip appears corrupt

Tue Sep 29, 2015 8:02 pm

ShiftPlusOne wrote:Some linux users have also reported problems.
Didn't work for me with Ark on Kubuntu 15.04.

Code: Select all

unzip /path/to/2015-09-24-raspbian-jessie.zip
Worked ok.

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

Re: Raspbian Jessie zip appears corrupt

Wed Sep 30, 2015 3:58 am

Thanks everyone!
I got 7zip and it unarchived just fine. I'll watch out for this with Windows and other large zip files.
The SHA-1 checksum does indeed match after all.
Glad I wasn't totally loosing my mind.
FYI: I use HashCheck Shell Extension to generate checksums: http://code.kliu.org/hashcheck/

jmunro
Posts: 1
Joined: Wed Sep 30, 2015 3:15 pm

Re: Raspbian Jessie zip appears corrupt

Wed Sep 30, 2015 3:19 pm

For Mac I was able to unarchive it properly to an .img file extension with Keka which is a free app. http://www.kekaosx.com/en/
(A paid version $1.99 is available on the App store.)

sudseh
Posts: 3
Joined: Sun Oct 04, 2015 2:46 pm

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 2:52 pm

I'm getting the same issue:

Code: Select all

warning [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  76 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  reported length of central directory is
  -76 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
   skipping: 2015-09-24-raspbian-jessie.img  need PK compat. v4.5 (can do v2.1)

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

shasum correct both times, first downloaded via FireFox and second time via torrent (Transmission client).
Transmission download:
shasum 2015-09-24-raspbian-jessie.zip
d8d4880cd0e4f155f343984725d5bd94c1f86023 2015-09-24-raspbian-jessie.zip

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12010
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 2:56 pm

sudseh wrote:I'm getting the same issue:

Code: Select all

warning [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  76 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  reported length of central directory is
  -76 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
   skipping: 2015-09-24-raspbian-jessie.img  need PK compat. v4.5 (can do v2.1)

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

shasum correct both times, first downloaded via FireFox and second time via torrent (Transmission client).
Transmission download:
shasum 2015-09-24-raspbian-jessie.zip
d8d4880cd0e4f155f343984725d5bd94c1f86023 2015-09-24-raspbian-jessie.zip
everybody will who tries to unpack a >4GB .zip using most standard unzippers, you need an unzipper that can cope, like 7-zip.

the RPF will probably shrink the .zip below 4GB in the next release, to solve this problem.

sudseh
Posts: 3
Joined: Sun Oct 04, 2015 2:46 pm

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 3:05 pm

And here I thought I was special. I'll try again...

Used

Code: Select all

ditto -x -k 2015-09-24-raspbian-jessie.zip .
which ships with OS X 10.11. Worked properly.

mahjongg wrote:everybody will who tries to unpack a >4GB .zip using most standard unzippers, you need an unzipper that can cope, like 7zip. the RPF will probably shrink the zip below 4GB to solve the problem.
Last edited by sudseh on Sun Oct 04, 2015 3:11 pm, edited 2 times in total.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 3:07 pm

sudseh wrote:And here I thought I was special. I'll try again.
mahjongg wrote:
sudseh wrote:I'm getting the same issue:

Code: Select all

warning [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  76 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [/Users/***/Downloads/2015-09-24-raspbian-jessie.zip]:  reported length of central directory is
  -76 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
   skipping: 2015-09-24-raspbian-jessie.img  need PK compat. v4.5 (can do v2.1)

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

shasum correct both times, first downloaded via FireFox and second time via torrent (Transmission client).
Transmission download:
shasum 2015-09-24-raspbian-jessie.zip
d8d4880cd0e4f155f343984725d5bd94c1f86023 2015-09-24-raspbian-jessie.zip
everybody will who tries to unpack a >4GB .zip using most standard unzippers, you need an unzipper that can cope, like 7zip.

the RPF will probably shrink the zip below 4GB to solve the problem.
I got that same error message on Mac. I guess the unzip hasn't been updated yet. I used The Unarchiver. Works great, although ideal would be an update to the unzip utility, since I use it to uncompress and write on the fly to keep it compressed and save space.
There are 10 types of people: those who understand binary and those who don't.

sudseh
Posts: 3
Joined: Sun Oct 04, 2015 2:46 pm

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 3:15 pm

I ended up using ditto (ships with yosemite and el capitan) which worked for me.
kusti8 wrote:I got that same error message on Mac. I guess the unzip hasn't been updated yet. I used The Unarchiver. Works great, although ideal would be an update to the unzip utility, since I use it to uncompress and write on the fly to keep it compressed and save space.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Sun Oct 04, 2015 3:56 pm

the RPF will probably shrink the .zip below 4GB to solve the problem.
By removing Mathematica/Wolfram, I hope.

Make it an optional install - put an icon on the desktop that will install it (for those who want it).
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12010
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Raspbian Jessie zip appears corrupt

Tue Oct 06, 2015 10:51 am

Joe Schmoe wrote:
the RPF will probably shrink the .zip below 4GB to solve the problem.
By removing Mathematica/Wolfram, I hope.

Make it an optional install - put an icon on the desktop that will install it (for those who want it).
Could be, but they said that there is unused space in the image so their could shrink it some, perhaps that would be enough.
Don't know what it is you have against Mathematica, but yes leaving it out may well be an option.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5764
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 Oct 06, 2015 11:04 am

AFAIK, there are no plans to remove any packages. The idea behind the new image is that it should contain everything one might need in a school environment. For a cut-down image (which will be on the download page soon enough), try this https://repo.xecdesign.com/tmp/2015-09- ... ie-noX.zip

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Tue Oct 06, 2015 11:06 am

Don't know what it is you have against Mathematica, but yes leaving it out may well be an option.
I don't really have anything against it - although I can see how it might seem that way based on my postings. From what I can tell, it is a very impressive program - just not something I personally ever use.

But it is very (VERY!) large and takes up a lot of space both in the image and, more importantly, whenever it needs to be updated/upgraded. That's the real point - it seems whenever I needed to do the update/upgrade dance, it would end up taking forever because of Mathematica/Wolfram.

It is mostly for this later reason that I think it ought to be made "optional".
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Steve Amor
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 21
Joined: Sun Jun 03, 2012 7:39 pm

Re: Raspbian Jessie zip appears corrupt

Tue Oct 06, 2015 8:10 pm

You still have problems with 7zip unzipping to a FAT32 disk (max file size 4GB). Ended up using Linux.

User avatar
topshed
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 85
Joined: Mon Feb 04, 2013 12:05 pm
Location: Surrey
Contact: Website

Re: Raspbian Jessie zip appears corrupt

Tue Oct 06, 2015 8:35 pm

You can shrink the jessie image so that it fits on a 4GB SD card (by removing wolfram and libreoffice and then resizing the partition).

I've written up some instructions on my blog http://richardhayler.blogspot.co.uk/201 ... gb-sd.html
--
Richard Hayler - Citizen Science Programme Manager

swoneill
Posts: 6
Joined: Fri Mar 01, 2013 11:37 pm

Re: Raspbian Jessie zip appears corrupt

Thu Oct 08, 2015 2:59 am

On OS X 10.10.5 ... onboard zip as mentioned before does not work.

I downloaded 7zip from here and it the .zip extracted fine: http://www.updatestar.com/directdownload/7zx/2188433

MarkDaniels
Posts: 59
Joined: Sun Oct 28, 2012 2:01 pm

Re: Raspbian Jessie zip appears corrupt

Mon Oct 12, 2015 2:37 pm

NOTE TO THE ADMINISTRATORS

I have just wasted 4 hours of my time attempting to download and unzip the Raspbian Jessie package. Not only has this wasted my time, but it has also used a lot of your bandwidth. Multiply this by tens or hundreds of thousands of other like me and it is no wonder your site repeatedly crashes under the server load. Please, post a simple message on the downloads page adjacent to this download or that appears when the download is attempted. it will save a lot of people, including yourselves, a lot of wasted time.

Thank you.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 14, 2015 9:54 pm

Wouldn't it be a whole lot easier to just install via NOOBS Lite?

This method is virtually foolproof, and requires no special tools. Any old unzipper will do.

And here are some observations about the alternative ("raw image") method:
  1. NOOBS *is* the recommended/approved method for newbies. It says so right on the downloads page.
  2. The "raw image" method is really only for hard-cores.
  3. As I've mentioned in the past, if you really do want to do the "raw image" thing, the easiest and best way is to get up and running first via NOOBS, then you will have a working Linux system (the Pi). You can then use that working system to go about preparing a second card via the raw image method (for the educational value/experience).

    Note that, among other things, this strategy puts you in better stead in terms of getting support on this forum. We are not in the business of supporting Windows user problems (which is certainly what people's inability to unzip the image file is), but we're glad to help with Linux problems.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 14, 2015 9:56 pm

Note: It looks like the mods deleted a few responses between the time I started to compose my last response and when I posted it. So, the continuity is off by a bit...
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

laserman
Posts: 5
Joined: Thu Mar 19, 2015 2:05 pm

Re: Raspbian Jessie zip appears corrupt

Sat Oct 17, 2015 7:07 pm

No, I don't think the file is corrupt. I had no problems downloading the zip or the torrent. Matched both times. I did use 7zip to extract and can view the files on the card just fine.

Now for the $64K question. After the files are extracted, I insert the card into the RPi 2 and power up. I get nothing on the screen. Thinking there may be a problem with the SD card, I write the NOOBS file to it and it fires right up. I even took an older image and worked dd to copy the image to the disk and it too, fired right up. I then took the unzipped Jessie image and dd to the disk. Again, I can see the files on both partitions but when I fire it up in the RPi 2, it's just a blank screen. Nothing.

So What am I forgetting? :shock: When I dd the files over to the disk, do I need to change the flags on the card? What am I missing?

laserman

mcfate
Posts: 1
Joined: Tue Oct 20, 2015 6:17 pm

Re: Raspbian Jessie zip appears corrupt

Tue Oct 20, 2015 7:46 pm

The file is fine, the standard tools (on OS X, at least) have a problem dealing with it. Rather than using Archive Utility, Keka unpacks this file with no problems.

For completeness' sake, the procedure for transferring the image file to an SD Card is documented here: http://www.acme-dot.com/using-os-x-to-i ... one-black/

irishcanuck
Posts: 13
Joined: Fri May 03, 2013 5:30 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 21, 2015 11:44 am

Steve Amor wrote:You still have problems with 7zip unzipping to a FAT32 disk (max file size 4GB). Ended up using Linux.
I tried without success to unzip it to a couple of vfat drives;
xarchiver gave me: "write error (disk full?)" .img is probably truncated
7-zip returned: ERROR: E_FAIL
I dd'd it anyway (ignoring the error to my peril) and received from dpkg:
"E: Unable to parse package file /var/lib/dpkg/status (1)"

My solution was to unzip the jessie .img to an ext3 filesystem

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 21, 2015 11:54 am

Really, folks. Just use NOOBS Lite. You'll be glad you did.

And remember, NOOBS *is* the approved/recommended way. This "raw image" stuff is really only for hardcores.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Raspbian Jessie zip appears corrupt

Wed Oct 21, 2015 12:00 pm

irishcanuck wrote: My solution was to unzip the jessie .img to an ext3 filesystem
Did this cure your dpkg status problem?

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 21, 2015 12:04 pm

Just out of curiosity, does the current version of the command line "unzip" program in Linux (e.g., including, but not limited to, the flavors of Linux that we run on the Pi) handle the new >4G zip file format?

Or do you really have to use 7zip - even under Linux?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

irishcanuck
Posts: 13
Joined: Fri May 03, 2013 5:30 pm

Re: Raspbian Jessie zip appears corrupt

Wed Oct 21, 2015 12:41 pm

fopetesl wrote:
irishcanuck wrote: My solution was to unzip the jessie .img to an ext3 filesystem
Did this cure your dpkg status problem?
From what I recall the error I got from unzip was the same as that from xarchiver (can be viewed in realtime with action>archive>store archiver output checked; sorry don't have it to hand) was related to the fat filesystem rather than the (bloated with wolfram and libreoffice) >4gb image :D

My real damage was having ignored the error and banging my head up against dpkg/apt-get/aptitude for hours with suchlike errors:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

I tried various methods removing /var/lib/apt/lists/* as well as removing&recreating /var/lib/dpkg/status but that was a very bad idea

The re-installation went without a hitch once I had gparted where I was unzipping to ext3 or ext4.
For the record, I don't need noobs, I just need raspbian
(debian & lxde on all my systems please and thanks)
Last edited by irishcanuck on Wed Oct 21, 2015 4:49 pm, edited 12 times in total.

Return to “Troubleshooting”