Pacman or your PACkage MANager is going to get its packages from different servers over the world. Depending where you live you select the servers that our near to you in distance BUT they may not be the fastest.

Or you use our alias “mirror” and let the application “reflector” test what server is the fastest in your part of the world.

I point you first to the Arch Wiki and let you read that article.

You will learn that the mirrorlist is coming in via a package named pacman-mirrorlist.

But it is NOT because you get an update in that you are using the latest mirrors from that package!

We will show what you need to do (if you want to use the latest mirrorlist).

After the update you will now have two files in /etc/pacman.d folder.

  • mirrorlist
  • mirrorlist.pacnew

It is up to us to do something with it or not.

rankmirrors

By way of test I uncommented ALL servers in the new mirrorlist.pacnew. I copied this content into mirrorlist and tested it with:

It is just a test since it takes forever. All servers from the world will be tested.

>> Follow the steps of the wiki to do this manually with rankmirrors.

On ArchMerge we will use the alias “mirror” to get the fastest servers around.

Bottomline :
choose the countries you think will be the fastest in your part of the world. Delete the hashtag in front of it. And then run the command. You will get the 6 fastest servers.
More info here.

 

REFLECTOR aka MIRROR

By way of test I uncommented ALL servers in the new mirrorlist.pacnew. I copied this content into mirrorlist and tested it with:

It is just a test since it takes forever. All servers from the world will be tested.

Bottomline :
choose the countries you think will be the fastest in your part of the world. Delete the hashtag in front of it. And then run this command. You will get the 6 fastest servers.
More info here.