Page 1 of 1

Magic isn't being so magical...

Posted: Fri Nov 25, 2005 12:28 am
by DancingTofu
I am having problems getting updates via Magic. My install is full native (via Cheesyboofs tutorial, with the only exception being I used the Home 4.0 rootfs instead of Pro 2.0) and I keep getting this error when I run Magic:

This will install tools to let you change your fan speed and
check system temperatures

The config file for fanctl is /etc/conf.d/fanctl
/bin/loadmonitor controls led patterns (check inside for
configuration)
--18:24:11-- http://shallax.com:2000/patch-files/monitors.tbz2
=> `monitors.tbz2.10'
Resolving shallax.com... 86.16.44.230
Connecting to shallax.com[86.16.44.230]:2000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 518,003 [application/x-bzip-compressed-tar]

100%[====================================>] 518,003 3.20K/s ETA 00:00

18:26:19 (3.98 KB/s) - `monitors.tbz2.10' saved [518,003/518,003]

./fanctl
./loadmonitor
./testi2c

bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

!! Decompression failed.

!! monitors patch failed.
!! Check your network settings and try again.

I have another box with the same installation type (fully native with Home 4.0) and it has no problems at all. I have tried running magic remotely via SSH and locally, with sync and without sync, and I still recieve the error. What should I do? :(

Posted: Fri Nov 25, 2005 9:19 pm
by orochi
i just downloaded the file and opened it ok, on my windows box, maybe a corrupt download?

Posted: Sat Nov 26, 2005 1:49 am
by ShALLaX
The key here is:

"18:26:19 (3.98 KB/s) - `monitors.tbz2.10' saved [518,003/518,003] "

Notice the .10, this means I made a mistake in the script... the script doesnt delete the original (partially downloaded file first), instead of clobbering the file, it makes a new one .1, .2, .3...

I've fixed it, so run magic and it should work now!

Posted: Sat Nov 26, 2005 4:42 pm
by cheesyboofs
Ahh bless, does that mean he's tried ten times....

Posted: Sat Nov 26, 2005 9:36 pm
by orochi
would be 11 if its .10 :D