From c178058315c668b4b090abfe29fd672d4621c76c Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 14 Jan 2026 11:10:58 -0500 Subject: [PATCH] Install libde265-dev from Testing; refactor install check logic in update (#10810) --- ct/immich.sh | 9 ++++++--- install/immich-install.sh | 7 +++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index 82254cb27..5ea878704 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -57,9 +57,12 @@ EOF fi $STD apt update msg_ok "Added Debian Testing repo" - msg_info "Installing libmimalloc3" - $STD apt install -t testing --no-install-recommends libmimalloc3 - msg_ok "Installed libmimalloc3" + fi + + if ! dpkg -l "libmimalloc3" | grep -q '3.1' || ! dpkg -l "libde265-dev" | grep -q '1.0.16'; then + msg_info "Installing/upgrading Testing repo packages" + $STD apt install -t testing libmimalloc3 libde265-dev -y + msg_ok "Installed/upgraded Testing repo packages" fi if [[ ! -f /etc/apt/sources.list.d/mise.list ]]; then diff --git a/install/immich-install.sh b/install/immich-install.sh index 5fb689ae6..7794eb0d1 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -29,7 +29,6 @@ $STD apt install --no-install-recommends -y \ libltdl-dev \ libgdk-pixbuf-2.0-dev \ libbrotli-dev \ - libde265-dev \ libexif-dev \ libexpat1-dev \ libglib2.0-dev \ @@ -130,9 +129,9 @@ Pin-Priority: 450 EOF $STD apt update msg_ok "Configured Debian Testing repo" -msg_info "Installing libmimalloc3" -$STD apt install -t testing --no-install-recommends -yqq libmimalloc3 -msg_ok "Installed libmimalloc3" +msg_info "Installing packages from Debian Testing repo" +$STD apt install -t testing --no-install-recommends -yqq libmimalloc3 libde265-dev +msg_ok "Installed packages from Debian Testing repo" PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')" NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs