SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.