# Parrot OS mirror (pkg.shecan.ir)

> Mirror of the Parrot OS repository (deb.parrot.sh/parrot, fetched from deb.parrot.sh/direct/parrot) with every suite (echo, lory, -security, -updates, -backports) for apt.

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

## Limitations

- apt still verifies the Parrot 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, Parrot OS (linux)

```sh
sudo cp /etc/apt/sources.list.d/parrot.list /etc/apt/sources.list.d/parrot.list.bak
sudo sed -i -E 's#https?://deb\.parrot\.sh/(direct/)?parrot/?#https://mirror-parrot.pkg.shecan.ir/parrot/#' /etc/apt/sources.list.d/parrot.list
sudo apt update
```

Undo / restore the default, Parrot OS (linux)

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