Home / Debian

Use the Debian Repository Mirror in Iran

Debian underpins many derivatives. /debian is reserved to host the archive in Iran.

About Debian

Debian is known for a strict stability policy and a large free-package archive. Servers and container images often consume Debian repos directly.

Many architectures and stable/testing suites move serious volume; every index refresh depends on upstream hosts.

Debian mirror in Iran

Reachability to deb.debian.org from Iran is not always uniform. Once the local repo is live, apt can fetch indexes and packages from Rasanegaar’s software repository.

Until then this page keeps the target URL and connection guide ready.

On Rasanegaar Mirror

StatusComing soon
Size
Last update
URLhttps://mirror.rasanegaar.com/debian/

This repository will be hosted on Rasanegaar Mirror soon. The target URL is reserved.

Browse repository (not live yet)

How to use the Debian mirror in Iran

This section will be completed once the mirror is live.

Manual steps

  1. Point APT sources at the Rasanegaar Debian mirror (adjust security suite path for your release):

    https://mirror.rasanegaar.com/debian

  2. On newer releases prefer DEB822 under:

    /etc/apt/sources.list.d/

  3. Refresh package indexes:

    sudo apt update

Switch with script

curl -fsSL https://mirror.rasanegaar.com/scripts/switch-debian.sh | sudo bash

Updating Debian in Iran

When official Debian mirrors answer slowly from Iran, updating via the local mirror shortens apt runs.

Once you switch, keep your usual update habits; only the origin URL changes.

Revert to official repository

If you need official upstream again:

curl -fsSL https://mirror.rasanegaar.com/scripts/revert-debian.sh | sudo bash

Related links