chore(ci): bump builder pinned packages for Debian upstream drift#688
Conversation
Debian trixie updated: - libssl-dev/libssl3t64: 3.5.5-1~deb13u1 → 3.5.6-1~deb13u1 - musl/musl-dev/musl-tools: 1.2.5-3 → 1.2.5-3.1~deb13u1 - openssl/openssl-provider-legacy: 3.5.5-1~deb13u1 → 3.5.6-1~deb13u1
The previous pin-packages.sh wrote /etc/apt/sources.list and only referenced bookworm. That worked on bookworm-based images (the legacy sources.list was overwritten), but on rust:1.92.0 (trixie) the base image ships its sources via deb822 at /etc/apt/sources.list.d/debian.sources. That file was left untouched, so apt kept resolving from live deb.debian.org/debian trixie instead of the snapshot — packages drifted on every build (libssl 3.5.5 → 3.5.6, musl 1.2.5-3 → 1.2.5-3.1~deb13u1). Detect VERSION_CODENAME from /etc/os-release, wipe both legacy and deb822 sources, and rewrite sources.list against the snapshot for the detected suite. Verified by running the script inside both rust:1.92.0 (trixie) and debian:bookworm — apt now resolves from the snapshot only, and libssl3t64 / musl land on the originally baselined versions, so revert the version bumps from the previous commit.
|
Pushed two follow-up commits because the original version bumps only paper over a bug in Root cause. Fix.
Verified locally inside both The third commit just silences a shellcheck SC1091 on the |
Fix CI failures in gateway and kms builder image checks caused by Debian package version drift.
Updated packages:
libssl-dev/libssl3t64: 3.5.5-1deb13u1 → 3.5.6-1deb13u1musl/musl-dev/musl-tools: 1.2.5-3 → 1.2.5-3.1~deb13u1openssl/openssl-provider-legacy: 3.5.5-1deb13u1 → 3.5.6-1deb13u1