Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: alwinl on November 25, 2010, 03:17:48 PM

Title: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 03:17:48 PM
Hi all.

Just tried install the atk.tcz extension but it fails the md5 check. The atk.tcz.md5.txt file from the repository contains
------
86ad50636031a57e15c25621f8139f77  atk.tcz
------

My calculated checksum of the current package in the repository is:
------
aa0f6338f157c5890f9629005dd4b5eb  atk.tcz
------

Hope this is any use.

Thanks

Alwin

Title: Re: atk.tcz md5sum error
Post by: Jason W on November 25, 2010, 03:26:21 PM
Thanks, but it seems to check out ok on ibiblio:

[tcz]$ md5sum -c atk.tcz.md5.txt
atk.tcz: OK
[tcz]$ md5sum atk.tcz
aa0f6338f157c5890f9629005dd4b5eb  atk.tcz
Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 03:31:16 PM
Yep just my point: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt contains
-----
86ad50636031a57e15c25621f8139f77  atk.tcz
-----

But it should be
-----
aa0f6338f157c5890f9629005dd4b5eb  atk.tcz
-----

Exactly as you calculated

Alwin

Title: Re: atk.tcz md5sum error
Post by: Jason W on November 25, 2010, 03:46:29 PM
Click on the link you posted, I haven't changed anything but it is correct.
Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 04:10:28 PM
Click on the link you posted, I haven't changed anything but it is correct.

It is perfectly possible that I am doing something wrong but I have loaded that file a number of times now and it keeps coming up with the 86... checksum. Are you saying that when you load the file it comes up with the aa.. number?

Sorry to be a pain
Title: Re: atk.tcz md5sum error
Post by: Jason W on November 25, 2010, 04:39:33 PM
I just booted with the "base norestore" options and installed atk.tcz, so it is ok on the server end.  :

tc@box:~$ tce-load -iw atk.tcz
Downloading: glib2.tcz
Connecting to distro.ibiblio.org (152.46.7.109:80)
glib2.tcz            100% |*******************************|  1212k 00:00:00 ETA
glib2.tcz: OK
Downloading: atk.tcz
Connecting to distro.ibiblio.org (152.46.7.109:80)
atk.tcz              100% |*******************************| 53248  --:--:-- ETA
atk.tcz: OK
tc@box:~$

.
Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 06:04:48 PM
I just booted from a cd with "tinycore base norestore":
Code: [Select]
tc@box:~$ tce-load -iw atk.tcz
Downloading: glib2.tcz
Connecting to distro.ibiblio.org (152.46.7.109:80)
glib2.tcz                  100% |****************************|  1212k 00:00:00 ETA
glib2.tcz: OK
Downloading atk.tcz
Connecting to distro.ibiblio.org (152.46.7.109:80)
atk.tcz                     100% |****************************| 53248 --:--:-- ETA
atk.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on atk.tcz

Output of uname -r: 2.6.33.3-tinycore
/opt/tcemirror: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux
/usr/share/doc/tc/release.txt: tinycore_3.2

Code: [Select]
tc@box:~$ rm -f atk.tcz.md5.txt && wget -q http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt && cat atk.tcz.md5.txt
86ad50636031a57e15c25621f8139f77  atk.tcz
tc@box~$

I am totally flabergasted.

I have tried on three computers so far and all three come back with 86... in the file. I have cleared my web browser cache, reloaded the page a number of times, but still the same. I am getting the file from exactly the same computer (152.46.7.109).

Can you please post the output of the above command to confirm that you are getting a different file content.

It makes no sense to me that the server is sending a different file content to you as it does to me.

Again, sorry to be a pain.

Alwin

Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 06:24:47 PM
Just discovered something:
Code: [Select]
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt content:
86ad50636031a57e15c25621f8139f77  atk.tcz

ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt content:
aa0f6338f157c5890f9629005dd4b5eb  atk.tcz

So there is an inconsistency between the "http" version and the "ftp" version.

Hope this helps

Alwin

Title: Re: atk.tcz md5sum error
Post by: gerald_clark on November 25, 2010, 06:49:39 PM
Perhaps your ftp client is set to text mode instead of binary.
Title: Re: atk.tcz md5sum error
Post by: tinypoodle on November 25, 2010, 08:31:56 PM
Getting same here (aa..) from http as ftp as well with opera as with wget.

Is there any chance you go through any proxy or similar (even if that would be from your ISP)?
Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 08:47:53 PM
Perhaps your ftp client is set to text mode instead of binary.

Previously I just looked at the file using Firefox. I did not think ASCII or BINARY mode would make a difference. Still I checked it out using gFTP.

Anyway, on my development machine I retrieved the atk.tcz.md5.txt file in both ASCII and BINARY mode.. both the same ( aa.. etc )

But the plot thickens...

Used gFTP to create an HTTP connection to distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz and downloaded atk.tcz.md5.txt. Surprise.... it's the right one ( aa... etc)

Switched back to firefox, went to http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/ clicked on the tcz/ link and instead of showing me the http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz directory listing it reloaded and showed the http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x page.

Typed http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/ in the address bar... showing http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x

Typed http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt in the address bar... Showing the wrong content (86... etc)

Started up separate (production) computer (boot: tinycore base norestore)
Issued command wget http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt
Got the wrong file (86...)
Issued command wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/atk.tcz.md5.txt
Got the right file (aa...)

Now I checked and it looks like the 86... file belongs to the 2.x distribution.

Just wondering if there is an ibiblio mirror server with a dodgy disk somewhere

Anyway have to go. I will do a reboot of all my systems and network equipment and try again next week.

Alwin

Title: Re: atk.tcz md5sum error
Post by: alwinl on November 25, 2010, 08:49:58 PM
Getting same here (aa..) from http as ftp as well with opera as with wget.

Is there any chance you go through any proxy or similar (even if that would be from your ISP)?

No proxies here, unknown at ISP but as far as I know no proxies at ISP either.

Alwin
Title: Re: atk.tcz md5sum error
Post by: tinypoodle on November 25, 2010, 09:14:39 PM
As I just happen to run TC 2.10 here, I md5sum'ed the extension itself.

Code: [Select]
tc@box:~$ md5sum /tmp/tce/optional/atk.tcz
86ad50636031a57e15c25621f8139f77

 ::)

Indeed, for some reason you got the md5sum destined for the TC 2.x repo.
Title: Re: atk.tcz md5sum error
Post by: tinypoodle on November 25, 2010, 09:26:18 PM
Perhaps your ftp client is set to text mode instead of binary.
Switched back to firefox, went to http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/ clicked on the tcz/ link and instead of showing me the http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz directory listing it reloaded and showed the http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x page.

Typed http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/ in the address bar... showing http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x

Can reproduce here with opera. Nota bene: as well RAM as disk cache are set off.
Title: Re: atk.tcz md5sum error
Post by: tinypoodle on November 25, 2010, 09:41:42 PM
When replacing http:// by ftp:// everything appears to work as expected.
Title: Re: atk.tcz md5sum error
Post by: alwinl on November 28, 2010, 01:34:27 PM
As promised on Friday I reset all my gear this morning (Monday) and had another look.
It's the right file!!!

Loaded it with Firefox: ok
Loaded it with wget on a "production machine": ok

Don't know what happened but it seems to be fixed though.

One thing remaining: loading http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/ still shows the http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/ directory

Thanks for everyones help

Alwin