From 005260df87a34e28c7636d98caa5bc3d4d02257d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 15 Mar 2026 00:05:31 +0100 Subject: [PATCH] fix(hwaccel): don't abort on AMD repo apt update failure (#12890) When repo.radeon.com has broken metadata, apt update fails with exit code 100 and kills the entire install. Make it non-fatal so the script can continue with cached packages or skip ROCm gracefully. Fixes #12879 --- misc/tools.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 447246a73..623fd242f 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -4640,7 +4640,7 @@ Pin: release o=repo.radeon.com Pin-Priority: 600 EOF - $STD apt update + $STD apt update || msg_warn "apt update failed (AMD repo may be temporarily unavailable) — continuing anyway" # Install only runtime packages — full 'rocm' meta-package includes 15GB+ dev tools $STD apt install -y rocm-opencl-runtime rocm-hip-runtime rocm-smi-lib 2>/dev/null || { msg_warn "ROCm runtime install failed — trying minimal set"