LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-10-2017, 12:44 AM   #1
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 948

Rep: Reputation: Disabled
Multiple sum check errors on mirrorrs


Hi,

Today I just installed Slackware, I used slackpkg with my own template,
I was looking for fast enough mirror, switching through them, I noticed, that
when I was downloading, there were multiple checksum errors. Don't know what to think about this.
 
Old 09-10-2017, 01:46 AM   #2
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 398

Rep: Reputation: 172Reputation: 172
It may take a few days for the other mirrors to update after a release from the main one. Its best to pick one and stick with it. I think you maybe confusing the system by mirror hopping.
 
Old 09-10-2017, 09:06 PM   #3
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,301

Rep: Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278
Quote:
Originally Posted by igadoter View Post
I was looking for fast enough mirror, switching through them
Not related to your question at all and totally a self-plug moment, but I do have a script that will check speeds and sort the list by order of speed. By default, it is set to the US servers from /etc/slackpkg/mirrors, but you can replace that list with any others, including pulling different servers from the /etc/slackpkg/mirrors file.

slack-mirror-speedtest.sh
 
1 members found this post helpful.
Old 09-11-2017, 10:19 AM   #4
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 948

Original Poster
Rep: Reputation: Disabled
Code:
         660KiBps       http://mirror.yandex.ru/slackware/slackware-14.2/
         620KiBps       http://sunsite.icm.edu.pl/packages/linux-slackware/slackware-14.2/
         566KiBps       http://slackware.mirrors.tds.net/pub/slackware/slackware-current/
         564KiBps       http://mirror.datacenter.by/pub/slackware/slackware-current/
         558KiBps       http://mirror.nl.leaseweb.net/slackware/slackware-current/
         548KiBps       http://ftp.nluug.nl/os/Linux/distr/slackware/slackware-14.2/
         546KiBps       http://mirror.switch.ch/ftp/mirror/slackware/slackware-14.2/
         539KiBps       http://mirrors.us.kernel.org/slackware/slackware-current/
         519KiBps       http://ftp.wa.co.za/pub/slackware/slackware-14.2/
         512KiBps       http://ba.mirror.garr.it/mirrors/Slackware/slackware-14.2/
         493KiBps       http://mirror.datacenter.by/pub/slackware/slackware-14.2/
         480KiBps       http://mirror.nl.leaseweb.net/slackware/slackware-14.2/
         471KiBps       http://mirror.bytemark.co.uk/slackware/slackware-current/
         456KiBps       http://mirrors.easynews.com/linux/slackware/slackware-14.2/
         455KiBps       ftp://mirror.datacenter.by/pub/slackware/slackware-current/
         451KiBps       http://mirror.aarnet.edu.au/pub/slackware/slackware-current/
         447KiBps       http://mirror.rol.ru/slackware/slackware-current/
         446KiBps       http://ftp.gwdg.de/pub/linux/slackware/slackware-14.2/
         427KiBps       http://ftp.freepark.org/pub/linux/distributions/slackware/slackware-current/
         417KiBps       http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-current/
         404KiBps       ftp://mirror.datacenter.by/pub/slackware/slackware-14.2/
these are my top fastest, but I am behind wireless access point, looking at these it comes to my mind that it is misguiding to divide mirrors per country, none of mirror located in my country is on that list. I little changed the script, it works with constant list of mirrors, so lets feed MIRRORS with list of mirrors from /etc/slackpkg/mirrors, export MIRRORS and run the script, but comment line 22-53 in the script
Code:
 
$ MIRRORS=`cat /etc/slackpkg/mirrors | awk  ' /http:|ftp:/ {print } - | sed 's/^#// ` && export MIRRORS
$ ./slack_mirrors_speedtest.sh
Such measurements made once are not of much value, so I will put this into crontab, and run this say three or four times daily for one week. And then once per three or four days to have always fastest mirror. Once you select those useless, you can care only about the rest. I mean "useless", because really it is hard to install system from mirror having download speed 25 KiBps. But they are of course nice for downloading one particular package.
 
Old 09-11-2017, 11:52 AM   #5
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,301

Rep: Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278
Quote:
Originally Posted by igadoter View Post
these are my top fastest, but I am behind wireless access point, looking at these it comes to my mind that it is misguiding to divide mirrors per country, none of mirror located in my country is on that list. I little changed the script, it works with constant list of mirrors, so lets feed MIRRORS with list of mirrors from /etc/slackpkg/mirrors, export MIRRORS and run the script, but comment line 22-53 in the script
I had thought about adding more mirrors or parsing /etc/slackpkg/mirrors directly, but it would lengthen the time it would take to run the script by quite a bit. If enough people think it is worth that, I can certainly add more mirrors in there (or use your awk/sed line, although, it would need some tweaking to prevent duplicate mirrors since they'll be in there for 14.2 and -current -- this could be done with piping to uniq command or using grep). I just figured it would be easier for each person to tweak the mirrors they wanted included since it would largely be regionally based. Then it's as Ron Popeil would say, "Set it, and forget it!"

I could also enable passing MIRRORS= through the command line with a quick if statement to see if MIRRORS is unset, and if it is, to then assign the mirrors in the script. But if the MIRRORS passed is badly formatted, it could cause the script to not function.

Any thoughts on the above?
 
Old 09-11-2017, 01:35 PM   #6
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 948

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Any thoughts on the above?
I am trying to keep shell scripts as simple as possible, in fact avoid them. Bash itself is powerful enough plus basic commands like cat, grep. My motto is: spend more time learning bash than creating multiple scripts. If I would create many scripts probably after some times I would completely forget what purpose serve these scripts, but this speed test script can be put inside slackpkg directory, this will remind me what actually this script is doing plus "README_speed_test.txt" for explanations .

If url would be malformed no harm is done. Seems that script simply omits such malformed url.
 
Old 09-11-2017, 04:00 PM   #7
Olek
Member
 
Registered: Jul 2012
Location: Wroclaw Poland
Distribution: Slackware
Posts: 50

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Hi,

Today I just installed Slackware, I used slackpkg with my own template,
I was looking for fast enough mirror, switching through them, I noticed, that
when I was downloading, there were multiple checksum errors. Don't know what to think about this.
Maybe You interrupted transfer by crtl-c when You switched to another mirror? I have that checksum errors when I use Aero2 GSM internet connection, which stops transfer every our, and require to type captcha. In this way some packages are not completly downloaded to /var/cache/packages.
 
Old 09-11-2017, 04:20 PM   #8
Olek
Member
 
Registered: Jul 2012
Location: Wroclaw Poland
Distribution: Slackware
Posts: 50

Rep: Reputation: Disabled
And some words about speed - try ftp://mirror.onet.pl or ftp://ftp.slackware.pl
I have 30 Mbit link from Multimedia operator and can download at full speed from these servers.
 
Old 09-12-2017, 10:19 AM   #9
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 948

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Olek View Post
Code:
         496KiBps	http://ftp.slackware.pl/pub/slackware/slackware-current/
	 432KiBps	ftp://ftp.slackware.pl/pub/slackware/slackware-current/
	 319KiBps	http://ftp.slackware.pl/pub/slackware/slackware-14.2/
         115KiBps	ftp://mirror.onet.pl/pub/mirrors/slackware/slackware-14.2/
doesn't work for me. And mirror on onet is not an official mirror for slackpkg.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Check Sum LinuxNoobX Linux - Newbie 9 01-26-2012 02:09 PM
How to disable the sum check abd_bela Debian 2 01-15-2009 05:56 PM
How to check the MD5 sum Gins Linux - General 12 05-21-2006 11:32 AM
Auto Check Sum APB_4 Linux - Software 6 03-04-2005 09:18 AM
Check sum emmanuelmathew Linux - Newbie 2 02-12-2003 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration