Jump to content

Mirrors

From postmarketOS Wiki

Mirrors for binary packages of postmarketOS and Alpine Linux are listed here, choose what's best for your location:

Configuring pmbootstrap

Run pmbootstrap config like this, once, passing the chosen mirror URL instead of variable:

$ pmbootstrap config mirrors.alpine   ${MIRROR_ALPINE}
$ pmbootstrap config mirrors.pmaports ${MIRROR_PMOS}
$ pmbootstrap config mirrors.systemd  ${MIRROR_SD}

Configuring postmarketOS (after installation)

After installation, the mirrors can be changed in /etc/apk/repositories. Login via SSH and edit the file with your favorite editor. By default it looks like this (for the edge channel):

http://mirror.postmarketos.org/postmarketos/master
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing