Rate Mirrors in Chakra Linux

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 pacman.d directory

# 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.


Add as preferred source in Google