From 4b886383c889564d9a55660ad4d3411f4c797aaf Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Mon, 27 Oct 2025 18:44:26 +0100 Subject: [PATCH] CT mysql: Using alternate source for the repo gpg key Oracle/MySQL's has not updated their key in there repo yet, but is availble in on the ubuntu and surfnet.nl gpg servers --- CT-Build/Debian.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CT-Build/Debian.yaml b/CT-Build/Debian.yaml index e020fa3..2f5b0fe 100644 --- a/CT-Build/Debian.yaml +++ b/CT-Build/Debian.yaml @@ -1809,12 +1809,9 @@ actions: - trigger: post-unpack action: |- #!/bin/bash - curl --retry 7 --retry-delay 5 -s "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb7b3b788a8d3785c" | gpg --dearmor > /usr/share/keyrings/mysql-archive-keyring.gpg + curl --retry 7 --retry-delay 5 -s "https://pgp.surfnet.nl/pks/lookup?op=get&search=0xb7b3b788a8d3785c" | gpg --dearmor > /usr/share/keyrings/mysql-archive-keyring.gpg + #curl --retry 7 --retry-delay 5 -s http://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --dearmor > /usr/share/keyrings/mysql-archive-keyring.gpg password=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1) - apt update - grep ^Package: /var/lib/apt/lists/repo.mysql.com* - ls /var/lib/apt/lists/ - sleep 30 mkdir -p /opt/Setup echo $password > /opt/Setup/TempMysqlPasswd debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password $password"