A Pacman Mirrorlist for India

Indian users commonly have issues with mirrors on Arch. So, I made a small list of mirrors that I’ve found to be reliable and give good speeds here. If you’d like to use them, you can download from the link below.

https://files.snehit.dev/pacman-mirrorlist-in

Here’s a one liner to prepend my mirror list to your existing mirror list.

curl https://files.snehit.dev/pacman-mirrorlist-in > /tmp/pacman-mirrors-in && cat /tmp/pacman-mirrors-in /etc/pacman.d/mirrorlist | sudo tee /etc/pacman.d/mirrorlist

Note

  • This works for me, may not work for you
  • But it will probably work
  • What I’ve shared is totally harmless, but nobody is responsible if you end up doing something wrong.

If the link is broken, or one of the listed mirrors have gone down, you can drop a comment on this thread, or DM me. I’ll update the mirror list accordingly.

Thanks to @s4ndm4n for the idea.

Edit: (26 March 2024) The mirrorlist will be now automatically updated periodically. Mirrors are tested from New Delhi.

8 Likes

Nice work, I might be pushing it but another suggestion. Don’t know if you already did this. It would be great if you make a post under Hindi category and pin it there. So, this post won’t get drowned undertone of other once.

EDIT: I pinned it here because I think this would help more users from India with mirror issues.

I guess its ok to have in general.

India has way too many languages beyond Hindi, so having this post under Hindi won’t do justice :wink:

3 Likes

Do you also have space for our repo (not the ISOs)?

EDIT: never mind, I misinterpreted the post, I’m on my first coffee of the day :wink:

1 Like

Yeah, I forgot about that. There’s Hindi, Urdu, Bengali, Punjabi … etc. We only have to deal with 1 extra and 2 variants of that :slight_smile:.

1 Like

i like the webside design :wink:

1 Like

Not too much bloat? :wink:

1 Like

God god, languages in India is a never-ending list. :grin:

Thank you very much for this. Real life-saver.

In India, in my experience, Ubuntu has by far the fastest and most reliable mirrors, followed by Debian and Arch. Fedora and Opensuse Mirrors, last time I used them, were painfully slow. Things are improving though.

1 Like

sorry for the dumb question. does eos-rankmirrors overwrite the above act

1 Like

Hay I am a year late to the party, I have tried your solution but it’s inconsistent, instead I found another way to fix the issue
It involves installing a program called rank-mirror its present in the AUR , here is an how to guide

  • Install the rank-mirror using your preferred AUR helper
  • Run the following command rate-mirrors --allow-root --protocol https arch
    Notice i did not specified the country this is because rank-mirror does not limit itself to a country, it find the mirrors that are fastest according to the grographic location , so the mirror list it generates is NOT slow
    NOTE: Change the arch in the above command to your disto
  • Then copy the output generated by the above command and paste it into your mirror-list file for arch linux it is /etc/pacman.d/mirrorlist
  • After all this refresh the pacman databases using the following command sudo pacman -Sy
    This should fix the problem , as in my experience it is a much reliable solution than the reflector
    Further you can also create an alias for all of this to do all of this in a single command.

no need to --allow-root on your locl machine… may useful in cases like installer applications…

rate-mirrors --protocol https arch | sudo tee /etc/pacman.d/mirrorlist

will safe the file ready to be used with the next update run…

And welcome @Abhijeet-Singh at the purple fun :enos: better is to open a new thread and link to one in case no one will find your post on old threads. Aside from me …

1 Like