Page 2 of 3

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Sep 29, 2015 8:02 pm
by preflex
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Sep 30, 2015 3:58 am
by DaHai8
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/

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Sep 30, 2015 3:19 pm
by jmunro
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.)

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 2:52 pm
by sudseh
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

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 2:56 pm
by mahjongg
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 3:05 pm
by sudseh
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 3:07 pm
by kusti8
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 3:15 pm
by sudseh
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Sun Oct 04, 2015 3:56 pm
by Joe Schmoe
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).

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 06, 2015 10:51 am
by mahjongg
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 06, 2015 11:04 am
by ShiftPlusOne
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

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 06, 2015 11:06 am
by Joe Schmoe
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".

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 06, 2015 8:10 pm
by Steve Amor
You still have problems with 7zip unzipping to a FAT32 disk (max file size 4GB). Ended up using Linux.

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 06, 2015 8:35 pm
by topshed
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

Re: Raspbian Jessie zip appears corrupt

Posted: Thu Oct 08, 2015 2:59 am
by swoneill
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

Re: Raspbian Jessie zip appears corrupt

Posted: Mon Oct 12, 2015 2:37 pm
by MarkDaniels
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 14, 2015 9:54 pm
by Joe Schmoe
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 14, 2015 9:56 pm
by Joe Schmoe
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...

Re: Raspbian Jessie zip appears corrupt

Posted: Sat Oct 17, 2015 7:07 pm
by laserman
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

Re: Raspbian Jessie zip appears corrupt

Posted: Tue Oct 20, 2015 7:46 pm
by mcfate
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/

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 21, 2015 11:44 am
by irishcanuck
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

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 21, 2015 11:54 am
by Joe Schmoe
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.

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 21, 2015 12:00 pm
by fopetesl
irishcanuck wrote: My solution was to unzip the jessie .img to an ext3 filesystem
Did this cure your dpkg status problem?

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 21, 2015 12:04 pm
by Joe Schmoe
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?

Re: Raspbian Jessie zip appears corrupt

Posted: Wed Oct 21, 2015 12:41 pm
by irishcanuck
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)