docs(setup): drop deprecated apt packages on Debian 13 trixie #223
Reference in New Issue
Block a user
Delete Branch "docs/setup-trixie-pkg-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up on #220.
10-base-packages.shfails on a fresh Debian 13 Trixie VM withE: Impossible de trouver le paquet software-properties-common. The package is no longer shipped on Trixie — and it was never used by any of our downstream scripts in the first place.Drop three deprecated / unused packages from the install list. Add an inline comment explaining each kept package's purpose so a drive-by addition doesn't reintroduce the dropped ones.
What lands
docs/setup/scripts/10-base-packages.shsoftware-properties-common,apt-transport-https,lsb-release. Remaining minimal set:curl wget git ca-certificates gnupg build-essential pkg-config. Inline comment lists which downstream script consumes each kept package + which three were deliberately removed and why.docs/setup/01-dev-debian-vm-setup.md10-base-packages.shupdated to match the new package list.Why each removed package wasn't needed
software-properties-commonadd-apt-repository. We don't use it —50-docker.shwrites/etc/apt/sources.list.d/docker.listmanually with the keyring-pinnedsigned-by=form. Also no longer in Trixie.apt-transport-httpslsb-release/etc/os-releasedirectly (see50-docker.sh's. /etc/os-release && echo "${VERSION_CODENAME}").Unblock path (manual, if you're stuck mid-bootstrap)
The user can either pull this PR and re-run, or shortcut manually:
Scripts are idempotent — re-running
bootstrap.shafter pulling this PR is also safe.Test plan
./docs/setup/scripts/10-base-packages.shexits successfully.pnpm exec prettier --checkclean on the touched files.bash -n docs/setup/scripts/10-base-packages.shclean.