# Chaotic-AUR mirror (pkg.shecan.ir)

> Mirror of builds.garudalinux.org/repos (what cdn-mirror.chaotic.cx redirects to): /chaotic-aur/<arch> with chaotic-keyring and chaotic-mirrorlist packages, and /garuda/<arch> (Garuda Linux).

- Upstream: builds.garudalinux.org/repos
- Mirror URLs: <https://mirror-chaotic.pkg.shecan.ir/chaotic-aur/>, <https://mirror-chaotic.pkg.shecan.ir/garuda/>
- Clients: pacman
- Service status: <https://pkg.shecan.ir/status.json> (key `chaotic`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/chaotic/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/chaotic.json>

## Limitations

- pacman still verifies the Chaotic-AUR signatures; the key comes from keyserver.ubuntu.com through the mirror.

## 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
curl -fsSL https://mirror-ppa.pkg.shecan.ir/keys/EF925EA60F33D0CB85C44AD13056513887B78AEB.asc | sudo pacman-key --add -
sudo pacman-key --lsign-key EF925EA60F33D0CB85C44AD13056513887B78AEB
sudo pacman -U --noconfirm https://mirror-chaotic.pkg.shecan.ir/chaotic-aur/chaotic-keyring.pkg.tar.zst
printf '\n[chaotic-aur]\nServer = https://mirror-chaotic.pkg.shecan.ir/$repo/$arch\n' | sudo tee -a /etc/pacman.conf
sudo pacman -Sy
```

Undo / restore the default (linux)

```sh
sudo sed -i '/^\[chaotic-aur\]$/,+1d' /etc/pacman.conf
sudo pacman -Sy
```
