From 68fa2307089f4972c512e79403290540d89fdb11 Mon Sep 17 00:00:00 2001 From: Advay Monga Date: Mon, 5 Oct 2026 01:13:21 -0400 Subject: [PATCH] lab: vm-setup refreshes apt lists before installing python3-dev A fresh Nebius image has no package lists, so the install failed on first setup. Co-Authored-By: Claude Opus 5.5 (1M context) --- lab/vm-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lab/vm-setup.sh b/lab/vm-setup.sh index 94a1142..6f1610e 100755 --- a/lab/vm-setup.sh +++ b/lab/vm-setup.sh @@ -9,6 +9,7 @@ nvidia-smi --query-gpu=name,driver_version,memory.total --format=csv,noheader echo "== uv + venv" # Triton builds its launcher against Python.h at first kernel launch. +$SUDO apt-get update -qq >/dev/null # a fresh image has no package lists $SUDO apt-get install -y -qq python3-dev >/dev/null command -v uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.local/bin:$PATH"