fix(mysql): update GPG key from expired 2023 key to 2025 key
This commit is contained in:
@@ -6289,7 +6289,7 @@ function setup_mysql() {
|
|||||||
local MYSQL_SUITE="trixie"
|
local MYSQL_SUITE="trixie"
|
||||||
msg_info "Debian ${DISTRO_CODENAME} detected → installing MySQL 8.4 LTS"
|
msg_info "Debian ${DISTRO_CODENAME} detected → installing MySQL 8.4 LTS"
|
||||||
|
|
||||||
if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then
|
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"
|
msg_error "Failed to import MySQL GPG key"
|
||||||
return 7
|
return 7
|
||||||
fi
|
fi
|
||||||
@@ -6339,7 +6339,7 @@ EOF
|
|||||||
|
|
||||||
# Setup repository
|
# Setup repository
|
||||||
manage_tool_repository "mysql" "$MYSQL_VERSION" "https://repo.mysql.com/apt/${DISTRO_ID}" \
|
manage_tool_repository "mysql" "$MYSQL_VERSION" "https://repo.mysql.com/apt/${DISTRO_ID}" \
|
||||||
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" || {
|
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" || {
|
||||||
msg_error "Failed to setup MySQL repository"
|
msg_error "Failed to setup MySQL repository"
|
||||||
return 100
|
return 100
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user