Good first of all thank you for allowing me to share with you in this wonderful community. This time I bring you a small tutorial for solving a common error these days that is the default mirror assigned in Chakra Linux, which, as it is not the most efficient for our location, means that these are downloaded slowly when your connection is in perfect condition for the rest of the processes, so let's get down to work.
1. We move to the directory pacman.d
# cd /etc/pacman.d
2. We support the existing mirrorlist
# cp mirrorlist mirrorlist.backup
3. Now we will have to enter the file and remove the # located before each line within the mirror file, for that we use the following command.
# nano mirrorlist.backup
We use ctrl + 0 to save the file and exit with ctrl + x.
4. Now we use the rankmirrors command in the following way:
# rankmirrors -n 6 mirrorlist.backup> mirrorlist
5. We Conclude Updating:
# rankmirrors -n 6 mirrorlist.backup> mirrorlist
Well in this way your mirrorlist file would be using the first 6 mirrors and your connection should improve.
Interesting, it is not my case but I will save the link if I need it later, thanks 😀
Another interesting news is a website with chakra news in Spanish → «https://thechakrabay.wordpress.com/»
Interestingly, all I do is put the closest mirror in my country in the first place and with that it goes knob.
Greetings ..
Since I use Chakra I have not had that problem, when I used Arch it enabled the mirrors of Brazil and zero problem. But this is very interesting in case a problem ever happens.
I have never wanted to touch Chakra's mirrors. I have not seen the need, because whenever I need to update something, I have been able to verify that it reaches the maximum available band.
Yes, many do not have this problem, but it touched me for the simple reason that I downloaded at 22kb / s, I did the process described and now I download at 150 kb / s on average, with the horrible connection we have in Venezuela, I hope that I am not the only one with that problem haha.
Greetings.
xD I am also from Venezuela and the Internet service leaves much to be desired.
The situation in Costa Rica is not so different. I download at a maximum of 198kb / s.
It's good to see news from my favorite distro, I'm still waiting for more 🙂
If the "Reflector" application is in the Chakra repos, it should be used as it is slightly superior to rankmirrors:
alias Up = 'sudo reflector -f 8 -l 20 -p http –save /etc/pacman.d/mirrorlist && yaourt –aur -Qm -Syyuu'
In this line reflector looks for the 20 most current mirrors and of them chooses the 8 fastest - it can also be done the other way around, logically, but also in that way I usually have 730kb downloads on my 6mb broadband connection.
MMm in Chakra does not use yaourt if not ccr or am I wrong?
Well your contribution @msx, at the time I did it I did not find "Reflector" in the repos, I wish I had a 6mb connection 🙁, haha. Cheers
Good tip, thanks for sharing.
codelab
Thank you!!