# Proxmox mirror (pkg.shecan.ir)

> Mirror of download.proxmox.com with its paths: the no-subscription and test apt repositories under /debian/<product>/dists/<codename>/ (pve, pbs, pbs-client, pmg, pdm, ceph-squid, ceph-reef, ceph-quincy, ...; packages inside dists/, no pool), the keys /debian/proxmox-release-<codename>.gpg and /debian/proxmox-archive-keyring-trixie.gpg, the LXC templates under /images/system/ (with aplinfo-pve-<n>.dat) and the installer ISOs under /iso/ (directory listings of /iso/ and /images/system/ are served).

- Upstream: download.proxmox.com
- Mirror URLs: <https://mirror-proxmox.pkg.shecan.ir/>, <https://mirror-proxmox.pkg.shecan.ir/iso/>, <https://mirror-proxmox.pkg.shecan.ir/images/system/>
- Clients: apt, curl
- Service status: <https://pkg.shecan.ir/status.json> (key `proxmox`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/proxmox/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/proxmox.json>

## Limitations

- Only the no-subscription and test repositories: the enterprise repositories (enterprise.proxmox.com) need a subscription key and are not mirrored. Disable them on hosts without a subscription.
- apt still verifies Proxmox's signature. pveam (the template tool) always downloads from download.proxmox.com; download templates from /images/system/ into /var/lib/vz/template/cache/ instead.
- Proxmox VE and Backup Server hosts also need their Debian repositories; use the Debian mirror (mirror-debian.pkg.shecan.ir) for those.

## 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, Proxmox VE 9 (linux) (checked by hand)

```sh
cat > /etc/apt/sources.list.d/proxmox.sources <<'EOF'
Types: deb
URIs: https://mirror-proxmox.pkg.shecan.ir/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
cat > /etc/apt/sources.list.d/ceph.sources <<'EOF'
Types: deb
URIs: https://mirror-proxmox.pkg.shecan.ir/debian/ceph-squid
Suites: trixie
Components: no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
apt update && apt full-upgrade
```

Run, Proxmox VE 8 (linux) (checked by hand)

```sh
echo "deb https://mirror-proxmox.pkg.shecan.ir/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
echo "deb https://mirror-proxmox.pkg.shecan.ir/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
apt update && apt full-upgrade
```

Run, Proxmox Backup Server 4 (linux) (checked by hand)

```sh
cat > /etc/apt/sources.list.d/proxmox.sources <<'EOF'
Types: deb
URIs: https://mirror-proxmox.pkg.shecan.ir/debian/pbs
Suites: trixie
Components: pbs-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
apt update && apt full-upgrade
```

Run, Debian 13 (linux)

```sh
sudo curl -fsSLo /usr/share/keyrings/proxmox-archive-keyring.gpg https://mirror-proxmox.pkg.shecan.ir/debian/proxmox-archive-keyring-trixie.gpg
echo "Types: deb
URIs: https://mirror-proxmox.pkg.shecan.ir/debian/pbs-client
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pbs-client.sources
sudo apt update && sudo apt install -y proxmox-backup-client
```

Undo / restore the default, Debian 13 (linux)

```sh
sudo rm -f /etc/apt/sources.list.d/pbs-client.sources /usr/share/keyrings/proxmox-archive-keyring.gpg
sudo apt update
```

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

Run, LXC template (linux) (checked by hand)

```sh
cd /var/lib/vz/template/cache
curl -fLO https://mirror-proxmox.pkg.shecan.ir/images/system/debian-13-standard_13.6-1_amd64.tar.zst
```

### curl: temporary (one command or the current shell; nothing saved)

Run, ISO (linux) (checked by hand)

```sh
curl -fLO https://mirror-proxmox.pkg.shecan.ir/iso/proxmox-ve_9.2-1.iso
curl -fsSL https://mirror-proxmox.pkg.shecan.ir/iso/proxmox-ve_9.2-1.iso.sha256 | sha256sum -c
```
