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


13 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   truko22 said

    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/»

  2.   obux said

    Interestingly, all I do is put the closest mirror in my country in the first place and with that it goes knob.

    Greetings ..

  3.   Byte said

    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.

  4.   elendilnarsil said

    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.

  5.   f3niX said

    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.

    1.    truko22 said

      xD I am also from Venezuela and the Internet service leaves much to be desired.

      1.    elendilnarsil said

        The situation in Costa Rica is not so different. I download at a maximum of 198kb / s.

  6.   kennatj said

    It's good to see news from my favorite distro, I'm still waiting for more 🙂

  7.   msx said

    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.

    1.    The crazy said

      MMm in Chakra does not use yaourt if not ccr or am I wrong?

  8.   f3niX said

    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

  9.   codelab said

    Good tip, thanks for sharing.

    codelab

  10.   Jonathan said

    Thank you!!