From d9b32cd14854da1260627cd1213df9ce6ca38505 Mon Sep 17 00:00:00 2001 From: AngePierre Date: Thu, 10 Sep 2026 17:01:28 +0200 Subject: [PATCH] install_deps: tolerate a broken apt source (update best-effort) A fresh Orin image carried a stale third-party apt source that made apt-get update fail; with set -e that aborted the install. The packages come from the main Ubuntu repos, so update is now best-effort and install proceeds. Co-Authored-By: Claude Opus 5 (1M context) --- scripts/install_deps.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 16562dc..0499efc 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -15,7 +15,10 @@ echo ">> Dependances pour JetPack ${JETPACK} (L4T ${L4T}, ${SOC})" # python3 is present on every JetPack image; websockets is the only bridge dep and # is pure Python, so it works identically everywhere. Prefer apt's package, fall # back to pip when the distro is too old to carry it. -sudo apt-get update -qq +# Best-effort: a broken third-party source (a stale packagecloud/VS Code repo has +# been seen on a fresh Orin image) must not abort the whole install — the packages +# below come from the main Ubuntu repos, which update fine on their own. +sudo apt-get update -qq || true sudo apt-get install -y --no-install-recommends \ build-essential cmake pkg-config git \ libusb-1.0-0-dev libudev-dev liblz4-dev libjpeg-turbo8-dev \