diff --git a/lib/db.func b/lib/db.func index f5d2473..14c3ce1 100644 --- a/lib/db.func +++ b/lib/db.func @@ -1119,7 +1119,9 @@ setup_mysql() { if [[ "$DISTRO_ID" == "debian" && "$DISTRO_CODENAME" =~ ^(trixie|forky|sid)$ ]]; then msg_info "Debian ${DISTRO_CODENAME} detected → using MySQL 8.4 LTS (libaio1t64 compatible)" - if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then + # The 2023 key name expired on 2025-10-22; the 2025 file is the same key, extended. + # bookworm's packages need libaio1, which trixie no longer has. + if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then msg_error "Failed to import MySQL GPG key" return 7 fi @@ -1127,7 +1129,7 @@ setup_mysql() { cat >/etc/apt/sources.list.d/mysql.sources <