Pacman-mirrors v4.16

Pacman-mirrors v4.16

Package now in unstable - Please let me know if you find any issues.

Report issues in the development thread here

Status of mirrors in your mirror list

Implementation of great suggestion from @papajoke.

Listing the status of your local mirror list. It can be called explicit with --status argument or by running pacman-mirrors with no arguments.

pacman-mirrors

Or

pacman-mirrors --status

If you want to use it in scripting - you can use the return values to execute a rebuild of your mirror list.

  • A value of 4 indicates your primary mirror is not up-to-date
  • A value of 5 overrides the above indicating an invalid mirror

Continent

Like you can use --geoip to select mirrors in your country (if mirrors exist) you can now use --continent to select mirrors based on continent.

sudo pacman-mirrors --continent
  • Europe
  • Asia
  • North America
  • South America
  • Australia
  • Oceania

To see how it works

sudo pacman-mirrors -c all -m random --no-status
Status list
❯ pacman-mirrors
Pacman-mirrors version 4.16.1
Local mirror status for unstable branch
Mirror # 1  --  08:27   Hong_Kong       http://ftp.cuhk.edu.hk/pub/Linux/manjaro/
Mirror # 2  --  05:31   Netherlands     http://ftp.snt.utwente.nl/pub/linux/manjaro/
Mirror # 3  --  05:57   Norway          http://mirror.terrahost.no/linux/manjaro/
Mirror # 4  --  04:27   Indonesia       http://kartolo.sby.datautama.net.id/manjaro/
Mirror # 5  OK  00:32   United_Kingdom  http://mirror.catn.com/pub/manjaro/
Mirror # 6  OK  00:29   Brazil          https://www.caco.ic.unicamp.br/manjaro/
Mirror # 7  OK  00:05   Belgium         https://mirror.futureweb.be/manjaro/
Mirror # 8  OK  00:07   Germany         http://mirror.ragenetwork.de/manjaro/
Mirror # 9  --  24:05   Bulgaria        https://mirrors.netix.net/manjaro/
Mirror #10  --  03:57   Iceland         https://mirrors.opensource.is/manjaro/
Mirror #11  OK  00:20   Denmark         https://mirrors.dotsrc.org/manjaro/
Mirror #12  OK  00:06   Denmark         https://www.uex.dk/public/manjaro/
Mirror #13  OK  00:07   Germany         https://mirror.netzspielplatz.de/manjaro/packages/
Mirror #14  --  05:32   Turkey          http://ftp.linux.org.tr/manjaro/
Mirror #15  --  06:29   Australia       http://manjaro.melbourneitmirror.net/
Mirror #16  --  05:31   Italy           https://ct.mirror.garr.it/mirrors/manjaro/
Mirror #17  --  02:56   Costa_Rica      https://mirrors.ucr.ac.cr/manjaro/
Mirror #18  --  10:28   Thailand        https://mirror.kku.ac.th/manjaro/
Mirror #19  --  02:19   Belarus         http://mirror.datacenter.by/pub/mirrors/manjaro/
Mirror #20  --  23:28   United_States   http://distro.ibiblio.org/manjaro/
Mirror #21  --  08:27   Philippines     http://mirror.rise.ph/manjaro/
Mirror #22  --  45:35   Belgium         http://ftp.belnet.be/mirrors/manjaro/
Mirror #23  --  05:31   Poland          http://ftp.vectranet.pl/manjaro/
Mirror #24  OK  00:27   Japan           http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
Mirror #25  --  05:29   Austria         http://mirror.inode.at/manjaro/
Mirror #26  --  23:47   Greece          https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
Mirror #27  --  02:21   Indonesia       https://mirror.deace.id/manjaro/
Mirror #28  OK  00:21   Poland          https://mirror.tuchola-dc.pl/manjaro/
Mirror #29  --  02:31   South_Africa    http://mirror.is.co.za/mirrors/manjaro.org/
Mirror #30  --  01:31   Germany         https://mirror.23media.com/manjaro/
Mirror #31  --  22:29   Bangladesh      http://mirror.xeonbd.com/manjaro/
Mirror #32  --  02:21   Russia          https://mirror.yandex.ru/mirrors/manjaro/
Mirror #33  --  05:01   France          http://ftp.free.org/mirrors/repo.manjaro.org/repos/
Mirror #34  OK  00:22   Ukraine         http://mirrors.colocall.net/manjaro/
Mirror #35  --  05:31   Italy           https://manjaro.mirror.garr.it/mirrors/manjaro/
Mirror #36  --  02:20   China           https://mirrors.sjtug.sjtu.edu.cn/manjaro/
Mirror #37  --  01:58   Sweden          https://mirror.zetup.net/manjaro/
Mirror #38  --  04:01   Netherlands     https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
Mirror #39  OK  00:08   United_Kingdom  http://manjaro.mirrors.uk2.net/
Mirror #40  --  06:31   Netherlands     https://mirror.neostrada.nl/manjaro/
Mirror #41  --  05:31   Germany         https://ftp.halifax.rwth-aachen.de/manjaro/
Mirror #42  --  00:52   United_Kingdom  http://repo.manjaro.org.uk/
Mirror #43  --  27:08   United_States   https://mirrors.ocf.berkeley.edu/manjaro/
Mirror #44  OK  00:07   Germany         https://mirror.alpix.eu/manjaro/
Mirror #45  --  05:02   United_States   https://mirror.clarkson.edu/manjaro/
Mirror #46  --  03:58   United_States   https://mirrors.gigenet.com/manjaro/
Mirror #47  --  02:05   Australia       http://manjaro.mirror.serversaustralia.com.au/
Mirror #48  --  21:08   South_Africa    http://manjaro.mirror.ac.za/
Mirror #49  --  01:55   Brazil          https://manjaro.c3sl.ufpr.br/
Mirror #50  --  05:01   Germany         https://mirror.netcologne.de/manjaro/
Mirror #51  --  11:31   Japan           http://ftp.riken.jp/Linux/manjaro/
Mirror #52  --  00:37   France          http://kibo.remi.lu/
Mirror #53  --  03:57   Netherlands     https://mirror.koddos.net/manjaro/
Mirror #54  --  11:31   Iran            https://repo.iut.ac.ir/repo/manjaro/
Mirror #55  --  04:17   Germany         http://ftp.tu-chemnitz.de/pub/linux/manjaro/
Mirror #56  --  00:37   New_Zealand     http://manjaro.mirrors.theom.nz/
Mirror #57  OK  00:07   Hungary         https://quantum-mirror.hu/mirrors/pub/manjaro/
Mirror #58  --  01:58   Sweden          https://ftp.lysator.liu.se/pub/manjaro/
Mirror #59  --  06:07   Germany         http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/
Mirror #60  --  03:18   Spain           https://ftp.caliu.cat/pub/distribucions/manjaro/
Mirror #61  OK  00:17   France          https://manjaro.ynh.ovh/
Mirror #62  OK  00:07   Germany         https://manjaro.moson.eu/
Mirror #63  --  05:30   Czech           https://mirror.dkm.cz/manjaro/
Mirror #64  --  14:26   China           https://mirrors.tuna.tsinghua.edu.cn/manjaro/
Mirror #65  --  28:07   Ecuador         https://mirror.cedia.org.ec/manjaro/
Mirror #66  --  01:39   Chile           https://mirror.ufro.cl/manjaro/
Mirror #67  --  05:31   France          https://mirror.oldsql.cc/manjaro/
Mirror #68  OK  02:19   China           https://mirrors.ustc.edu.cn/manjaro/
Mirror #69  --  05:31   Italy           https://ba.mirror.garr.it/mirrors/manjaro/
Mirror #70  --  05:31   Georgia         https://manjaro.grena.ge/
Mirror #71  --  05:31   Kenya           https://manjaro.mirror.liquidtelecom.com/
Mirror #72  --  00:58   United_States   https://mirror.math.princeton.edu/pub/manjaro/
Mirror #73  OK  00:28   United_States   https://repo.ialab.dsu.edu/manjaro/
Mirror #74  OK  00:05   Austria         http://mirror.easyname.at/manjaro/
Mirror #75  --  05:31   Portugal        http://ftp.dei.uc.pt/pub/linux/manjaro/
Mirror #76  --  00:47   Ecuador         http://mirror.espoch.edu.ec/manjaro/
Mirror #77  --  00:35   Bulgaria        https://manjaro.ipacct.com/manjaro/
Mirror #78  --  03:18   Taiwan          http://free.nchc.org.tw/manjaro/
Mirror #79  --  05:29   Brazil          http://linorg.usp.br/manjaro/
Mirror #80  OK  00:08   South_Korea     https://mirror.d-tl.com/manjaro/
Mirror #81  --  05:31   India           https://mirrors.piconets.webwerks.in/manjaro-mirror/
Mirror #82  --  04:27   Singapore       https://download.nus.edu.sg/mirror/manjaro/
Mirror #83  --  28:07   Iran            https://repo.sadjad.ac.ir/manjaro/
Mirror #84  OK  00:07   Hungary         https://nova.quantum-mirror.hu/mirrors/pub/manjaro/
Mirror #85  --  01:55   Bulgaria        http://manjaro.telecoms.bg/
Mirror #86  --  05:02   United_Kingdom  https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
Mirror #87  --  02:21   Russia          http://mirror.truenetwork.ru/manjaro/
Mirror #88  --  02:59   Chile           http://manjaro.dcc.uchile.cl/
Continent - Origin Denmark
❯  sudo pacman-mirrors --continent
[sudo] password for fh: 
::INFO Downloading mirrors from repo.manjaro.org
::INFO User generated mirror list
::------------------------------------------------------------
::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.204 Austria        : http://mirror.easyname.at/manjaro/
  0.454 Austria        : ftp://mirror.easyname.at/manjaro/
  0.197 Belgium        : https://mirror.futureweb.be/manjaro/
  0.121 Belgium        : http://mirror.futureweb.be/manjaro/
  0.221 Denmark        : https://mirrors.dotsrc.org/manjaro/
  0.475 Denmark        : https://www.uex.dk/public/manjaro/
  0.253 France         : https://manjaro.ynh.ovh/
  0.201 Germany        : https://mirror.alpix.eu/manjaro/
  0.198 Germany        : http://mirror.ragenetwork.de/manjaro/
  0.296 Germany        : https://mirror.netzspielplatz.de/manjaro/packages/
  0.193 Germany        : https://manjaro.moson.eu/
  0.120 Germany        : http://manjaro.moson.eu/
  0.410 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  0.280 Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/
  0.423 Hungary        : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/
  0.272 Hungary        : http://nova.quantum-mirror.hu/mirrors/pub/manjaro/
  1.136 Poland         : https://mirror.tuchola-dc.pl/manjaro/
  0.132 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  0.198 Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/
  0.316 Ukraine        : http://mirrors.colocall.net/manjaro/
  0.598 Ukraine        : ftp://mirrors.colocall.net/manjaro/
  0.421 United_Kingdom : http://mirror.catn.com/pub/manjaro/
  ..... United_Kingdom : http://repo.manjaro.org.uk/
  0.283 United_Kingdom : http://manjaro.mirrors.uk2.net/
::INFO Writing mirror list
::Germany         : https://manjaro.moson.eu/unstable
::Belgium         : https://mirror.futureweb.be/manjaro/unstable
::Germany         : http://mirror.ragenetwork.de/manjaro/unstable
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/unstable
::Germany         : https://mirror.alpix.eu/manjaro/unstable
::Denmark         : https://mirrors.dotsrc.org/manjaro/unstable
::France          : https://manjaro.ynh.ovh/unstable
::Hungary         : https://nova.quantum-mirror.hu/mirrors/pub/manjaro/unstable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/unstable
::United_Kingdom  : http://manjaro.mirrors.uk2.net/unstable
::Germany         : https://mirror.netzspielplatz.de/manjaro/packages/unstable
::United_Kingdom  : http://mirror.catn.com/pub/manjaro/unstable
::Austria         : http://mirror.easyname.at/manjaro/unstable
::Denmark         : https://www.uex.dk/public/manjaro/unstable
::Ukraine         : http://mirrors.colocall.net/manjaro/unstable
::Poland          : https://mirror.tuchola-dc.pl/manjaro/unstable
::United_Kingdom  : http://repo.manjaro.org.uk/unstable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
Continent - VPN endpoint New Zealand
❯ sudo pacman-mirrors --continent -t10
::INFO Downloading mirrors from repo.manjaro.org
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  3.057 Japan          : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
  5.956 South_Korea    : https://mirror.d-tl.com/manjaro/
::INFO Writing mirror list
::Japan           : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/unstable/$repo/$arch
::South_Korea     : https://mirror.d-tl.com/manjaro/unstable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
::INFO To reset custom mirrorlist 'sudo pacman-mirrors -id'
::INFO To remove custom config run  'sudo pacman-mirrors -c all'
13 Likes

When it comes to testing I'll try the continent thing for sure.

1 Like

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

Forum kindly sponsored by