====== Debian — Mirror Configuration ======
The local mirror covers Debian 11 (Bullseye), 12 (Bookworm), and 13 (Trixie) for ''amd64''. Security updates and backports are included.
The security repository lives at a **/security/** subdirectory, not the same URI as the main archive. Make sure to use the correct URLs below.
===== 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//
Suites: -updates -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//security/
Suites: -security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Replace '''' 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/'' | [[https://mirror.nplab.bth.se/configs/debian/trixie.sources|trixie.sources]] |
| bookworm | 12 | deb822 (.sources) | ''https://mirror.nplab.bth.se/debian/bookworm/'' | [[https://mirror.nplab.bth.se/configs/debian/bookworm.sources|bookworm.sources]] |
| bullseye | 11 | sources.list | ''https://mirror.nplab.bth.se/debian/bullseye/'' | [[https://mirror.nplab.bth.se/configs/debian/bullseye.list|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