WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: atk.tcz md5sum error  (Read 5404 times)

Offline alwinl

  • Newbie
  • *
  • Posts: 8
atk.tcz md5sum error
« on: November 25, 2010, 06: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


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: atk.tcz md5sum error
« Reply #1 on: November 25, 2010, 06: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

Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #2 on: November 25, 2010, 06: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


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: atk.tcz md5sum error
« Reply #3 on: November 25, 2010, 06:46:29 PM »
Click on the link you posted, I haven't changed anything but it is correct.

Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #4 on: November 25, 2010, 07: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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: atk.tcz md5sum error
« Reply #5 on: November 25, 2010, 07: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:~$

.

Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #6 on: November 25, 2010, 09: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


Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #7 on: November 25, 2010, 09: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


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: atk.tcz md5sum error
« Reply #8 on: November 25, 2010, 09:49:39 PM »
Perhaps your ftp client is set to text mode instead of binary.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: atk.tcz md5sum error
« Reply #9 on: November 25, 2010, 11: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)?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #10 on: November 25, 2010, 11: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


Offline alwinl

  • Newbie
  • *
  • Posts: 8
Re: atk.tcz md5sum error
« Reply #11 on: November 25, 2010, 11: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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: atk.tcz md5sum error
« Reply #12 on: November 26, 2010, 12:14:39 AM »
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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: atk.tcz md5sum error
« Reply #13 on: November 26, 2010, 12:26:18 AM »
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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: atk.tcz md5sum error
« Reply #14 on: November 26, 2010, 12:41:42 AM »
When replacing http:// by ftp:// everything appears to work as expected.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)