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

> Mirror of archive.archlinux.org: dated repository snapshots (/repos/<yyyy>/<mm>/<dd>/<repo>/os/<arch>, also /repos/last/) and every old package version (/packages/<letter>/<name>/), with directory listings.

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

## Limitations

- pacman still verifies the package signatures; a snapshot date pins the whole system to that day.

## 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: temporary (one command or the current shell; nothing saved)

Example, One old package (linux)

```sh
sudo pacman -U --noconfirm https://mirror-arch-archive.pkg.shecan.ir/packages/j/jq/jq-1.8.1-3-x86_64.pkg.tar.zst
```

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

Run, Whole system at a date (linux)

```sh
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
echo 'Server = https://mirror-arch-archive.pkg.shecan.ir/repos/2026/10/01/$repo/os/$arch' | sudo tee /etc/pacman.d/mirrorlist
sudo pacman -Syyuu --noconfirm
```

Undo / restore the default, Whole system at a date (linux)

```sh
sudo mv /etc/pacman.d/mirrorlist.bak /etc/pacman.d/mirrorlist
sudo pacman -Syyuu --noconfirm
```
