From 8165a98494688eda883102e96427d294b403bd75 Mon Sep 17 00:00:00 2001 From: master3395 Date: Sun, 8 Mar 2026 23:36:25 +0100 Subject: [PATCH] AlmaLinux 10: do not add MariaDB rhel9 repo; use AppStream only to avoid galera/libboost el9 deps --- cyberpanel.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 9a6a02fc7..1e3e41eea 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -312,16 +312,9 @@ enabled=1 gpgcheck=1 EOF elif [[ "$Server_OS_Version" = "10" ]] && uname -m | grep -q 'x86_64'; then - cat </etc/yum.repos.d/MariaDB.repo -# MariaDB 10.11 CentOS repository list - created 2021-08-06 02:01 UTC -# http://downloads.mariadb.org/mariadb/repositories/ -[mariadb] -name = MariaDB -baseurl = http://yum.mariadb.org/10.11/rhel9-amd64/ -gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB -enabled=1 -gpgcheck=1 -EOF + # AlmaLinux 10: use distro AppStream (mariadb-server, mariadb, mariadb-devel) only. + # Do not add MariaDB rhel9 repo - el9 packages need galera-4/libboost from el9 and break on el10. + rm -f /etc/yum.repos.d/MariaDB.repo fi }