# Manjaro mirror (pkg.shecan.ir)

> Mirror of repo.manjaro.org/repo: /<branch>/<repo>/<arch> for the stable, testing and unstable branches and arm-stable, arm-testing, arm-unstable.

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

## Limitations

- pacman still verifies the Manjaro signatures.
- pacman-mirrors rewrites /etc/pacman.d/mirrorlist; do not run it afterwards, or run the command below again.

## 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)

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

Undo / restore the default (linux)

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