From 0ce1cea6cd93fe3a68e7309094bcb8198cab61d7 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Tue, 28 Jul 2026 18:11:29 +1000 Subject: [PATCH] UmlautAdaptarr: use the Debian 13 Microsoft repo with its 2025 signing key (#16077) * UmlautAdaptarr: use the Debian 13 Microsoft repo with its 2025 signing key The container is Debian 13 (var_version 13) but the script configures the Microsoft debian/12 prod repo with suite bookworm. The move to debian/13 was reverted in #8392 because apt reported "OpenPGP signature verification failed" (#8385), diagnosed at the time as Microsoft not having populated the trixie repo. The actual cause was the signing key: debian/13/prod is signed by EE4D7792F748182B (microsoft-2025.asc), while the script kept microsoft.asc (EB3E94ADBE1229CF). The suite and URL were changed but the key was not. The trixie repo carries the required packages at current patch level (dotnet-sdk-8.0 8.0.423-1, aspnetcore-runtime-8.0 8.0.29-1). This makes the call identical to the six other scripts already on the Debian 13 Microsoft repo (technitiumdns, igotify, mail-archiver, rdtclient, fileflows, immichframe). Co-Authored-By: Claude Opus 5 * UmlautAdaptarr: migrate existing containers to the Debian 13 repo on update Per review feedback: the install-side fix only helps new containers. Existing ones keep the Debian 12 repo indefinitely, because update_script only fetches a GitHub release and never touches apt. Repoints them when the stale Debian 12 repo is detected, mirroring the conditional setup_deb822_repo calls in ct/technitiumdns.sh and ct/fileflows.sh. The guard makes this a no-op once migrated. setup_deb822_repo's microsoft* globs also clear the pre-#9839 microsoft-prod.sources layout; its key lived in /usr/share/keyrings, which cleanup_old_repo_files does not cover, so it is removed explicitly as ct/technitiumdns.sh does. Co-Authored-By: Claude Opus 5 --------- Co-authored-by: Tim Moore Co-authored-by: Claude Opus 5 --- ct/umlautadaptarr.sh | 12 ++++++++++++ install/umlautadaptarr-install.sh | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ct/umlautadaptarr.sh b/ct/umlautadaptarr.sh index 7ff93ba55..fbf12583d 100644 --- a/ct/umlautadaptarr.sh +++ b/ct/umlautadaptarr.sh @@ -29,6 +29,18 @@ function update_script() { exit fi + if grep -qs "packages.microsoft.com/debian/12" /etc/apt/sources.list.d/microsoft*.sources; then + msg_info "Migrating Microsoft Repository to Debian 13" + setup_deb822_repo \ + "microsoft" \ + "https://packages.microsoft.com/keys/microsoft-2025.asc" \ + "https://packages.microsoft.com/debian/13/prod/" \ + "trixie" \ + "main" + rm -f /usr/share/keyrings/microsoft-prod.gpg + msg_ok "Migrated Microsoft Repository to Debian 13" + fi + if check_for_gh_release "UmlautAdaptarr" "PCJones/Umlautadaptarr"; then msg_info "Stopping Service" systemctl stop umlautadaptarr diff --git a/install/umlautadaptarr-install.sh b/install/umlautadaptarr-install.sh index c65a1b12b..53d90756b 100644 --- a/install/umlautadaptarr-install.sh +++ b/install/umlautadaptarr-install.sh @@ -16,9 +16,9 @@ update_os msg_info "Installing Dependencies" setup_deb822_repo \ "microsoft" \ - "https://packages.microsoft.com/keys/microsoft.asc" \ - "https://packages.microsoft.com/debian/12/prod/" \ - "bookworm" \ + "https://packages.microsoft.com/keys/microsoft-2025.asc" \ + "https://packages.microsoft.com/debian/13/prod/" \ + "trixie" \ "main" $STD apt install -y \ dotnet-sdk-8.0 \