# Arch Linux ARM mirror (pkg.shecan.ir)

> Mirror of Arch Linux ARM (/<arch>/<repo>/ for aarch64 and armv7h: core, extra, alarm, aur). mirror.archlinuxarm.org redirects every client to a mirror of its choice; this mirror reads from RWTH Aachen (de3), then the Florida mirror.

- Upstream: mirror.archlinuxarm.org
- Mirror URL: <https://mirror-archarm.pkg.shecan.ir/>
- Clients: pacman
- Service status: <https://pkg.shecan.ir/status.json> (key `archarm`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/archarm/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/archarm.json>

## Limitations

- pacman still verifies the Arch Linux ARM signatures (archlinuxarm-keyring).

## Setup

Every block below is the exact text of the Persian guide. Unless marked otherwise it is run against the live mirror in a disposable container on every catalog change; "checked by hand" blocks cannot run in a container. Change a machine only with its owner's permission: back up existing configuration first, merge into existing files instead of overwriting them, and keep the "Undo" step at hand.

### pacman: persistent (user- or system-wide configuration)

Run (linux) (checked by hand)

```sh
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
echo 'Server = https://mirror-archarm.pkg.shecan.ir/$arch/$repo' | sudo tee /etc/pacman.d/mirrorlist
sudo pacman -Syu --noconfirm
```

Undo / restore the default (linux)

```sh
sudo mv /etc/pacman.d/mirrorlist.bak /etc/pacman.d/mirrorlist
```
