Skip to content

Mirrors

Our main repo server is located in Germany and contains the pacman databases and packages, matching source packages and installers. The whole content of the mirror is regularly synced to multiple mirrors across the world.

All these servers are registered with pacman under /etc/pacman.d/mirrorlist.*. The first URL in those lists is the primary mirror, all others will be used as a fallback. You can make another mirror the primary one by moving it to the top.

In case you have problems with a particular mirror please let us know by filing an issue: https://github.com/msys2/msys2.github.io/issues

Primary Server

Name URL Note
repo.msys2.org HTTPS | RSYNC primary
mirror.msys2.org HTTPS geo redirection service for Tier 1 mirrors

Tier 1 Mirrors

Requirements: Reliable, 1GBit/s+ with enough free bandwidth, rsync server support (*), HTTPS support, synced at least once per day from the primary server.

Map: https://mirror.msys2.org/?mirrorstats

Name URLs Note
mirror.umd.edu HTTPS | RSYNC website
mirror.accum.se HTTPS | RSYNC issue
ftp.nluug.nl HTTPS | RSYNC ftp-admin@nluug.nl
ftp.osuosl.org HTTPS | RSYNC hosting-request@osuosl.org
mirror.internet.asn.au HTTPS | RSYNC peering@ix.asn.au
mirror.selfnet.de HTTPS | RSYNC admin
mirror.yandex.ru HTTPS | RSYNC -
mirrors.dotsrc.org HTTPS | RSYNC staff@dotsrc.org
mirrors.tuna.tsinghua.edu.cn HTTPS | RSYNC -
mirrors.ustc.edu.cn HTTPS | RSYNC lug@ustc.edu.cn
mirror.nju.edu.cn HTTPS | RSYNC issue
mirrors.bfsu.edu.cn HTTPS | RSYNC issue
mirror.clarkson.edu HTTPS | RSYNC issue
quantum-mirror.hu HTTPS | RSYNC website
fastmirror.pp.ua HTTPS | RSYNC website
mirror.archlinux.tw HTTPS | RSYNC issue

(*) rsync is required by mirrorbits, which we use to auto-redirect users to a local mirror via mirror.msys2.org

Tier 2 Mirrors

Requirements: Synced regularly.

Name URLs Note
ftp.cc.uoc.gr HTTPS mirrors@cc.uoc.gr
mirrors.bit.edu.cn HTTPS webmaster@bitnp.net
mirror.jmu.edu HTTPS mirrormaster@jmu.edu
mirrors.piconets.webwerks.in HTTPS mirrors@piconets.com
mirrors.sjtug.sjtu.edu.cn HTTPS
www2.futureware.at HTTPS Nick Østergaard
mirrors.aliyun.com HTTPS ali-yum@alibaba-inc.com
mirror.iscas.ac.cn HTTPS
mirrors.cloud.tencent.com HTTPS petzhou@tencent.com
download.nus.edu.sg HTTPS download@nus.edu.sg

Adding a New Mirror

The repository size is ~725 GiB (see https://mirror.jmu.edu/ for current stats) with the distribution of sizes like this:

  -1K: ~14000 files
-100K:  ~3200 files
  -1M:  ~5000 files
 -10M:  ~4000 files
-100M:  ~1000 files
  -1G:   ~200 files
 -10G:    ~20 files

You can use rsync to update your mirror using

rsync-ssl -rlptH --safe-links --delete-delay --delay-updates \
    rsync://repo.msys2.org/builds/ ./msys2

Our repository layout is compatible with Arch Linux, which means you can use the following script to sync everything more frequently and efficiently:

https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/syncrepo/files/syncrepo-template.sh

source_url='rsync://repo.msys2.org/builds/'
lastupdate_url='https://repo.msys2.org/lastupdate'

Since our server has TLS/SSL support, you can replace the rsync command in the script with rsync-ssl.

To register your mirror please open an issue here: https://github.com/msys2/msys2.github.io/issues

Admin TODO List

When adding/removing/updating mirrors: