Repo.manjaro.org + country name

mirror
https://repo.manjaro.org/

If I’m in my country, I’d be happy if I could access it with the following URL.
Please fix it if it’s easy to do. Low priority.

https://repo.manjaro.org/Japan

If it’s an easy task.
I’m not forcing Team to do it.

Hi @ehhen,

As far as I know there are to ways of using the repositories:

  1. Using the global one, which uses a CDN that automagically detects the best server for you to use;
  2. manually; you can set it up with the help of the pacman-mirrors command. For example, to limit the mirrors to Japan, run the following:
sudo pacman-mirrors --country Japan

Then all your pacman/pamac commands will use that mirror pool.

The list of countries available to be used, can be obtained with:

$ pacman-mirrors --country-list

Why would that be beneficial?

pacman-mirrors uses the data from the webserver to generate the mirrorlist / custom mirrorpool.

Because I want to reduce the number of clicks.

I think I can see why that isn’t working.

Is it possible to determine from the command line whether the server is synchronized or not?

I know how to use it.

Until now, I had it set to a server in Japan, but synchronization wasn’t working properly, so I’ve been doing this since last week.

sudo pacman-mirrors --country Global,Japan
1 Like
pacman-mirrors --status

The command will - if you have internet access - give you the current known status of the mirrors in your mirrorlist.

The data is parsed from the downloaded status.json file to /var/lib/pacman-mirrors

https://repo.manjaro.org/status.json

You can easily write you own miniparser to fetch the data and output data for your specific purpose.

The following will produce a mirrorlist with all mirrors regardless of status

 sudo pacman-mirrors -c japan --no-status

Then you can see how the --status output works

 $ sudo pacman-mirrors --status
Local mirror status for unstable branch
Mirror #1   OK  00:30   Japan  http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
Mirror #2   --  11:12   Japan  http://ftp.riken.jp/Linux/manjaro/
Mirror #3   OK  01:50   Japan  https://mirror.phoepsilonix.love/manjaro/
Mirror #4   --  04:20   Japan  https://mirrors.xtom.jp/manjaro/

The source for pacman-mirrors is found at Applications / pacman-mirrors · GitLab

I accidentally posted it with Japanese mixed in, so I deleted it.

@ehhen Please confirm if this has been resolved.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.