Debian Sid Repository Policy¶
Pimarchy adds one external apt source for the desktop stack: Debian sid (unstable), pinned at priority 100. This page documents why, what it covers, and the risks we accept.
Why Sid at All?¶
The target platform is Pi OS Lite (Debian Trixie, arm64). Trixie's Hyprland is either absent or too old for the feature set Pimarchy uses (current bindd descriptions, current windowrule match: syntax, UWSM integration). The options were:
- Build Hyprland from source — heavy, slow on a Pi, and a maintenance burden (submodules, cmake, every update).
- Use Trixie's version — not available/usable for our config syntax.
- Pull the Hyprland stack from Debian sid — binary packages, maintained by Debian, same ABI ecosystem.
We chose (3): it is the only option that keeps the install a few minutes on a Pi 5 while staying inside Debian's packaging ecosystem (no Arch/Pacman tooling, no third-party Hyprland builds).
The Pin¶
Priority 100 < 500 means: sid packages are only installed when explicitly requested (apt install -t sid ...) or when nothing else can satisfy a dependency. A routine sudo apt upgrade will never silently pull a package from sid. Only the Hyprland session stack is installed this way — see sid: entries in config/packages/core.list.
What Comes From Sid¶
Installed explicitly with -t sid (see sid: lines in config/packages/core.list):
hyprland, hyprland-guiutils, waybar, mako-notifier, swaybg, xdg-desktop-portal-hyprland, uwsm, rofi
Why sid rofi? Trixie ships rofi 1.7 (X11 only). Pimarchy keeps Xwayland off, so the launcher must be Wayland-capable — that is sid rofi 2 (layer-shell). Do not switch the package back to Trixie rofi.
Everything else in core — Chromium, Foot, greetd, PipeWire, … — comes from Trixie / Raspberry Pi OS repos (or official install scripts for Zed / Raven / Ollama).
The Hyprland stack currently pulls Python 3.14 from sid as a dependency. Trixie blueman requires python3 << 3.14, so it cannot be installed. Sid blueman would install, but -t sid also upgrades NetworkManager and fontconfig off Pi OS — we do not do that. Waybar's Bluetooth click opens bluetoothctl instead.
Risks & Mitigations¶
| Risk | Mitigation |
|---|---|
| Sid packages need newer libs than Trixie has | Pin 100 means apt only pulls the packages themselves plus strictly required deps; Hyprland's deps are satisfied within Trixie + sid as tested |
| A future sid update breaks the session | apt upgrade won't auto-upgrade sid packages (priority 100); upgrades happen only when you run apt install -t sid or a full-upgrade explicitly. Roll back with sudo apt install <pkg>=<trixie-version> |
| Repo churn | Debian sid is a rolling suite but the source entry is codename-stable (sid); no changes needed per Debian release |
| Debian release transitions (Trixie → Forky) | When Pi OS rebases, the pin keeps preferring the new stable; we re-test and drop sid entries if the new stable covers them |
Removal¶
uninstall.sh removes /etc/apt/sources.list.d/sid.list and /etc/apt/preferences.d/sid-pin.
full-upgrade before the sid pin
install.sh runs apt full-upgrade on the stock repositories before it adds the sid pin. That keeps the first upgrade on Pi OS packages. The upgrade links /dev/root first so the kernel initramfs build can see the root disk.