From 660d613e77f0f16a949efb2ebc52bcf5aa960328 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sun, 29 Mar 2026 20:45:10 +0200 Subject: [PATCH] fix(ollama): add error handling for Intel GPG key imports Prevents install failure when Intel GPU repository key download returns HTTP 403. Aligns with openwebui-install.sh approach. Closes #13387 --- install/ollama-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ollama-install.sh b/install/ollama-install.sh index b3dfb3648..161d354fa 100644 --- a/install/ollama-install.sh +++ b/install/ollama-install.sh @@ -22,7 +22,7 @@ msg_ok "Installed Dependencies" msg_info "Setting up IntelĀ® Repositories" mkdir -p /usr/share/keyrings -curl -fsSL https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor -o /usr/share/keyrings/intel-graphics.gpg +curl -fsSL https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor -o /usr/share/keyrings/intel-graphics.gpg 2>/dev/null || true cat </etc/apt/sources.list.d/intel-gpu.sources Types: deb URIs: https://repositories.intel.com/gpu/ubuntu @@ -31,7 +31,7 @@ Components: client Architectures: amd64 i386 Signed-By: /usr/share/keyrings/intel-graphics.gpg EOF -curl -fsSL https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg +curl -fsSL https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg 2>/dev/null || true cat </etc/apt/sources.list.d/oneAPI.sources Types: deb URIs: https://apt.repos.intel.com/oneapi