Primary endpoint
Use https://mirror.kargadan.ir/repository/raspbian-proxy/ as the canonical baseurl in your client configuration.
apt mirror for Raspbian and the Raspberry Pi firmware archive.
Use https://mirror.kargadan.ir/repository/raspbian-proxy/ as the canonical baseurl in your client configuration.
Primary archive plus 1 companion archive (security · updates · backports — listed below).
Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.
Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.
This distribution requires more than one archive — list each one below in your client configuration.
| Name | URL |
|---|---|
raspberrypi-proxy | https://mirror.kargadan.ir/repository/raspberrypi-proxy/ |
Two archives are required: the Debian-armhf rebuild plus the Raspberry Pi firmware archive that ships kernel and userland packages.
Run this from any machine that can reach the mirror. It should complete in under a second once metadata is cached.
# Quick smoke test
curl -fsSL https://mirror.kargadan.ir/repository/raspbian-proxy/dists/bookworm/Release | head -10
Drop this file at /etc/apt/sources.list on the target host for the recommended default release (bookworm). See configuration by release for every supported suite.
# /etc/apt/sources.list (Raspbian / Raspberry Pi OS bookworm)
# Two archives are required: the Debian-armhf rebuild and the firmware
# archive containing kernel/firmware/userland packages.
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspbian-proxy bookworm main contrib non-free rpi
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspberrypi-proxy bookworm main
# Replace 'bookworm' with the suite running on the SD card (bullseye, etc.).
Each block below is a complete, copy-ready configuration for one suite or release. Install path: /etc/apt/sources.list. The same patterns are committed under /opt/client-configs/raspbian/sources.list on the mirror host (default release only).
curl -fsSL https://mirror.kargadan.ir/repository/raspbian-proxy/dists/bookworm/Release | head -10# /etc/apt/sources.list (Raspberry Pi OS (bookworm))
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspbian-proxy bookworm main contrib non-free rpi
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspberrypi-proxy bookworm maincurl -fsSL https://mirror.kargadan.ir/repository/raspbian-proxy/dists/bullseye/Release | head -10# /etc/apt/sources.list (Raspberry Pi OS (bullseye))
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspbian-proxy bullseye main contrib non-free rpi
deb [trusted=yes] https://mirror.kargadan.ir/repository/raspberrypi-proxy bullseye mainA minimal snippet you can paste into a Dockerfile or pipeline step.
# Dockerfile snippet
FROM raspbian:bookworm
RUN echo 'deb [trusted=yes] https://mirror.kargadan.ir/repository/raspbian-proxy bookworm main' \
> /etc/apt/sources.list \
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates
| Distribution | Raspberry Pi OS |
| Package manager | apt |
| Mirror format (Nexus) | apt |
| Default suite / branch | bookworm |
| Authentication | Not required (anonymous read) |
| Protocols | HTTPS · HTTP |
Two archives are required: the Debian-armhf rebuild plus the Raspberry Pi firmware archive that ships kernel and userland packages.