From 030bc8a1c2cc4ad2fc98e5ded62105e4ab1a8195 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Thu, 13 Aug 2026 11:47:20 +0200 Subject: [PATCH] docs(debian): use deb822 sources for non-free, not apt-add-repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit software-properties-common is not available in Debian 13, so the apt-add-repository line could not have worked. Debian 13 keeps its sources in deb822 format; edit Components there instead (verified in a trixie container — the NVIDIA driver it then offers is 550, above our 535 floor). --- docs-site/content/docs/debian.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs-site/content/docs/debian.md b/docs-site/content/docs/debian.md index 8a00a352..6cd05e02 100644 --- a/docs-site/content/docs/debian.md +++ b/docs-site/content/docs/debian.md @@ -33,16 +33,19 @@ virtual display and injects input is desktop-specific, so pick your desktop on t ## 1. GPU driver -On **NVIDIA**, the driver lives in Debian's `non-free-firmware` / `non-free` components, which a -default install does not enable. Add them, then install the driver: +On **NVIDIA**, the driver lives in Debian's `contrib` / `non-free` / `non-free-firmware` +components, which a default install does not enable. Debian 13 keeps its sources in the deb822 +format, so add them there and refresh: ```sh -sudo apt install software-properties-common -sudo apt-add-repository contrib non-free non-free-firmware +sudo sed -i 's/^Components: .*/Components: main contrib non-free non-free-firmware/' \ + /etc/apt/sources.list.d/debian.sources sudo apt update sudo apt install nvidia-driver firmware-misc-nonfree ``` +Debian 13 ships driver 550, comfortably above the [535 floor](/docs/requirements). + Reboot, then confirm the driver and KMS modeset — Wayland on NVIDIA needs `modeset=1`: ```sh