Table of Contents

Debian — Mirror Configuration

The local mirror covers Debian 11 (Bullseye), 12 (Bookworm), and 13 (Trixie) for amd64. Security updates and backports are included.

<WRAP important> The security repository lives at a /security/ subdirectory, not the same URI as the main archive. Make sure to use the correct URLs below. </WRAP>

Debian 13 (Trixie) and 12 (Bookworm)

These releases use the deb822 format (.sources files).

Replace /etc/apt/sources.list.d/debian.sources with:

Types: deb
URIs: https://mirror.nplab.bth.se/debian/<release>/
Suites: <release> <release>-updates <release>-backports
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: https://mirror.nplab.bth.se/debian/<release>/security/
Suites: <release>-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Replace <release> with trixie or bookworm.

Debian 11 (Bullseye)

Bullseye uses the classic sources.list format (deb822 is not supported).

Replace /etc/apt/sources.list with:

deb https://mirror.nplab.bth.se/debian/bullseye bullseye main contrib non-free
deb https://mirror.nplab.bth.se/debian/bullseye bullseye-updates main contrib non-free
deb https://mirror.nplab.bth.se/debian/bullseye/security bullseye-security main contrib non-free

Release Reference

Release Version Format Local URL Config File
trixie 13 deb822 (.sources) https://mirror.nplab.bth.se/debian/trixie/ trixie.sources
bookworm 12 deb822 (.sources) https://mirror.nplab.bth.se/debian/bookworm/ bookworm.sources
bullseye 11 sources.list https://mirror.nplab.bth.se/debian/bullseye/ bullseye.list

Download and apply (run as root):

Trixie / Bookworm:

curl -o /etc/apt/sources.list.d/debian.sources https://mirror.nplab.bth.se/configs/debian/bookworm.sources
apt-get update

Bullseye:

curl -o /etc/apt/sources.list https://mirror.nplab.bth.se/configs/debian/bullseye.list
apt-get update

Notes

* TBD