# deepin mirror (pkg.shecan.ir)

> Mirror of community-packages.deepin.com: /beige/ (deepin 23 beige and deepin 25 crimson) and the deepin 20 apricot repository at the root (dists/, pool/) for apt.

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

## Limitations

- apt still verifies the deepin signature.
- The deepin app store and its separate hosts are not mirrored.

## 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, deepin (linux)

```sh
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i -E 's#https?://community-packages\.deepin\.com/#https://mirror-deepin.pkg.shecan.ir/#' /etc/apt/sources.list
sudo apt update
```

Undo / restore the default, deepin (linux)

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