aegir
Posts: 2
Joined: Sat Dec 16, 2017 11:08 am

Raspbian cannot be downloaded [solved]

Sat Dec 16, 2017 11:14 am

Hello,

Repository seems to have a trouble or the file is corrupted. Downloading 2017-11-29-raspbian-stretch.zip hangs at byte 871375784. Here is wget output (in french, sorry) :

Code: Select all

2017-12-16 12:05:01 (0,00 B/s) — Erreur de lecture à l'octet 871375784/1764972666 (Connexion ré-initialisée par le correspondant). Nouvel essai.

--2017-12-16 12:05:11--  (essai : 17)  http://director.downloads.raspberrypi.org/raspbian/images/raspbian-2017-12-01/2017-11-29-raspbian-stretch.zip
Connexion à director.downloads.raspberrypi.org (director.downloads.raspberrypi.org)|93.93.130.214|:80… connecté.
requête HTTP transmise, en attente de la réponse… 206 Partial Content
Taille : 1764972666 (1,6G), 893596882 (852M) restant [application/zip]
Enregistre : «director.downloads.raspberrypi.org/raspbian/images/raspbian-2017-12-01/2017-11-29-raspbian-stretch.zip»

director.downloads.raspberrypi.org/raspbian/images/raspbian-2017-12  49%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                                                                                   ] 831,01M  --.-KB/s    in 0s      

2017-12-16 12:05:12 (0,00 B/s) — Erreur de lecture à l'octet 871375784/1764972666 (Connexion ré-initialisée par le correspondant). Nouvel essai.

User avatar
DougieLawson
Posts: 30935
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspbian cannot be downloaded

Sat Dec 16, 2017 5:22 pm

Have you tried wget -c http://director.downloads.raspberrypi.org/raspbian/images/raspbian-2017-12-01/2017-11-29-raspbian-stretch.zip

[or wget --continue ...url here ...]? That should attempt to restart (continue) a broken download.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

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

aegir
Posts: 2
Joined: Sat Dec 16, 2017 11:08 am

Re: Raspbian cannot be downloaded

Sat Dec 16, 2017 6:30 pm

Yes I tried, but it always failed for the byte #871375784

Finally I've downloaded it with bittorrent, but it seems that the http file has/had a problem.

pbpersson
Posts: 2
Joined: Sun Dec 17, 2017 12:54 am

Re: Raspbian cannot be downloaded

Sun Dec 17, 2017 12:58 am

I have tried downloading this two ways and extracting it two ways. The SHA256 key that is displayed (1fc5a29c33b0fa31a98c2aee188a257cafa037aea61115b8d2191214be77765a) does not match what is shown on the website. When I use Win32 disk imager it says "Verification failed at sector: 8192"

This is very disappointing as I had set aside time today to try the Raspbian Stretch image. :cry: :cry: :cry:

klricks
Posts: 4936
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Raspbian cannot be downloaded

Sun Dec 17, 2017 4:33 am

pbpersson wrote:
Sun Dec 17, 2017 12:58 am
I have tried downloading this two ways and extracting it two ways. The SHA256 key that is displayed (1fc5a29c33b0fa31a98c2aee188a257cafa037aea61115b8d2191214be77765a) does not match what is shown on the website. When I use Win32 disk imager it says "Verification failed at sector: 8192"

This is very disappointing as I had set aside time today to try the Raspbian Stretch image. :cry: :cry: :cry:
The SHA256 must be applied to the raw compressed .zip file... NOT to the unzipped .img file.
Try the recommended Etcher software instead of Win32diskimager. Etcher It is easier to use and automatically unzips the image as it goes.
If you still have problems then verify that your SD card is not broken or not a fake. Google for SD fake checker software.
Go here for my RPi writeup. Basic config, Serial Port add-on etc:
http://blackeagle12.net/Comp/RPi/Rpi.html Click contact icon then world icon --->

User avatar
HawaiianPi
Posts: 1491
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Raspbian cannot be downloaded

Sun Dec 17, 2017 11:17 am

pbpersson wrote:
Sun Dec 17, 2017 12:58 am
I have tried downloading this two ways and extracting it two ways. The SHA256 key that is displayed (1fc5a29c33b0fa31a98c2aee188a257cafa037aea61115b8d2191214be77765a) does not match what is shown on the website. When I use Win32 disk imager it says "Verification failed at sector: 8192"

This is very disappointing as I had set aside time today to try the Raspbian Stretch image. :cry: :cry: :cry:
That is the correct sha256 for the extracted image. The published one is for the .zip download. Since your sha256 checks out, the verification error must be a problem with writing the card.

Bad card (is it a Kingston by any chance)?
Bad card reader?
Bad .zip extraction (how did you extract the file)?

Hard to say for sure...

Try another SD card and/or card reader if you have them.

Try the Etcher software and let Etcher do the extraction and writing (don't extract the image file, let Etcher write the .zip download file).
https://etcher.io/
My password is the last 8 digits of Pi.

pbpersson
Posts: 2
Joined: Sun Dec 17, 2017 12:54 am

Re: Raspbian cannot be downloaded

Sat Dec 23, 2017 7:29 pm

I used Etcher and it took a couple of tries but I was able to get this to work.


Thank you! :D


Phil

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 26 guests