# Devuan mirror (pkg.shecan.ir)

> Mirror of the Devuan archive (pkgmaster.devuan.org): /merged/ (what Devuan systems use, Devuan and Debian packages together) and /devuan/, every suite (excalibur, daedalus, chimaera, ceres, ...). Debian's packages in the merged pool are served from the same cache as mirror-debian.

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

## Limitations

- apt still verifies the Devuan signature.

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

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

Run, Devuan (linux)

```sh
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i -E 's#https?://(deb|pkgmaster)\.devuan\.org/#http://mirror-devuan.pkg.shecan.ir/#' /etc/apt/sources.list
sudo apt update
```

Undo / restore the default, Devuan (linux)

```sh
sudo mv /etc/apt/sources.list.bak /etc/apt/sources.list
```
