From 66fb8bf149f98aa5d17c58c4f8f99e2214ab1e4d Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Sat, 3 Oct 2026 15:09:39 +0200 Subject: [PATCH] Refresh apt package lists before bootstrap installs anything (closes #12) The CI job image ships with empty apt package lists, so the bootstrap's `apt-get install -y golang` could not find the package and every CI run stopped there. On the apt path the bootstrap now runs `apt-get update` once, before the first install, and not at all when nothing needs installing. Model: opus-5-5 --- script/bootstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/bootstrap b/script/bootstrap index 7a3adbd..233ccb3 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -31,6 +31,9 @@ detect_pkgmgr() { if [ "$(id -u)" != "0" ]; then SUDO="sudo" fi + # Fresh images, the CI runner's among them, ship with empty + # package lists. This runs once, on the first install. + $SUDO env DEBIAN_FRONTEND=noninteractive apt-get update fi }