apt

Primary endpoint

Use https://mirror.kargadan.ir/repository/raspbian-proxy/ as the canonical baseurl in your client configuration.

2 archives

Companion archives included

Primary archive plus 1 companion archive (security · updates · backports — listed below).

Anonymous

No sign-in required

Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.

Repository URL

Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.

HTTPS · recommended
https://mirror.kargadan.ir/repository/raspbian-proxy/
HTTP · legacy clients only
http://mirror.kargadan.ir/repository/raspbian-proxy/

Companion repositories

This distribution requires more than one archive — list each one below in your client configuration.

NameURL
raspberrypi-proxyhttps://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.

Quick verification

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

Default client configuration

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

Configuration by release

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

Raspberry Pi OS (bookworm) default

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/raspbian-proxy/dists/bookworm/Release | head -10

Client configuration

# /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 main

Raspberry Pi OS (bullseye)

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/raspbian-proxy/dists/bullseye/Release | head -10

Client configuration

# /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 main

CI / container example

A 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

Mirror information

DistributionRaspberry Pi OS
Package managerapt
Mirror format (Nexus)apt
Default suite / branchbookworm
AuthenticationNot required (anonymous read)
ProtocolsHTTPS · HTTP
Notes & limitations

Two archives are required: the Debian-armhf rebuild plus the Raspberry Pi firmware archive that ships kernel and userland packages.