From 4d1915dc6dccad035bed50f9684a858e401700db Mon Sep 17 00:00:00 2001 From: sneak Date: Sat, 3 Oct 2026 12:14:33 +0000 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 }