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 Contact Note
repo.msys2.org HTTPS | RSYNC contact primary
mirror.msys2.org HTTPS contact 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 Contact Note
download.nus.edu.sg HTTPS | RSYNC download@nus.edu.sg
ftp.acc.umu.se HTTPS | RSYNC ftp-adm@acc.umu.se
ftp.nluug.nl HTTPS | RSYNC ftp-admin@nluug.nl
ftp.osuosl.org HTTPS | RSYNC hosting-request@osuosl.org
mirror.clarkson.edu HTTPS | RSYNC Cameron Weinfurt
mirror.internet.asn.au HTTPS | RSYNC peering@ix.asn.au
mirror.selfnet.de HTTPS | RSYNC
mirror.ufro.cl HTTPS | RSYNC Jonathan GutiƩrrez
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 my@yaoge123.com

Tier 2 Mirrors

Requirements: Synced regularly.

Name URLs Contact Note
downloads.sourceforge.net HTTPS contact
fastmirror.pp.ua HTTPS | RSYNC smlr@ukr.net (too slow for T1)
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
quantum-mirror.hu HTTPS | RSYNC root@quantum-mirror.hu (too slow for T1)
www2.futureware.at HTTPS Nick Ƙstergaard
repo.casualgamer.ca HTTPS

Adding a New Mirror

The repository size is ~240 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 -rtlvH --delete-after --delay-updates --safe-links \
    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'

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