rpi-update: incorrect data check #126

Closed
mrzap000 opened this Issue Jan 17, 2014 · 5 comments

Comments

Projects
None yet
2 participants

I tried to rpi-update in the last couple of days and always got the same error from github:

*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
*** ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option!
*** We're running for the first time
*** Setting up firmware (this may take a few minutes)
Cloning into '//root/.rpi-firmware'...
remote: Counting objects: 3213, done.
remote: Compressing objects: 100% (2668/2668), done.
error: inflate: data stream error (incorrect data check)/s
fatal: pack has bad object at offset 26423204: inflate returned -3
fatal: index-pack failed
!!! Failed to download new firmware files

I've always been able to update the firmware, last time last month. The pi is up to date, autoupdate runs every night, latest packages, uname -a is

Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux

is that an issue on github or something's corrupt on my side?

Collaborator

popcornmix commented Jan 17, 2014

I've just ran rpi-update, and it worked normally, so it's not globally broken.
What's the sdcard space like on your Pi (run "df").

Not a problem of space I guess

rootfs 3830564 2605732 1023872 72% /
/dev/root 3830564 2605732 1023872 72% /

I got a slightly different error now:

2014-01-17 14:36:17 (1.59 MB/s) - `/usr/bin/rpi-update.tmp' saved [7174/7174]

*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
*** ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option!
*** We're running for the first time
*** Setting up firmware (this may take a few minutes)
Cloning into '//root/.rpi-firmware'...
remote: Counting objects: 3213, done.
remote: Compressing objects: 100% (2668/2668), done.
error: RPC failed; result=56, HTTP code = 200 598 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
!!! Failed to download new firmware files

but it still invariably fails
can't be a connectivity issue on my pi: I'm in from the internet via ssh and just remotely rsync-ed a couple of gigabytes without a hiccup.
I also ran git clone https://github.com/Hexxeh/rpi-firmware --depth=1 successfully

At the 20th tentative in 24 hours it eventually succeeded.
It looks like github's end was terminating the connection. Overload? network glitches? some flapping route on the network path between Telecom Italia adsl network and Github?
I have no sniffer and no time to further investigate, let's see if anyone else has this issue in the future.

Collaborator

popcornmix commented Jan 17, 2014

We get these reports periodically, and they usually resolve themselves.
Best guess is a problem on git's end (or somewhere in between).

good to know, next time I'll just keep retrying - thanks for your note

mrzap000 closed this Jan 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment