mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-08 15:46:48 +01:00
Call disableMariaDB12RepositoryIfNeeded in fix_almalinux9_comprehensive
- Ensures MariaDB 12.1 repository is disabled early in the process - Called before Pre_Install_Required_Components runs - Prevents upgrade attempts when MariaDB 10.x is already installed
This commit is contained in:
@@ -345,6 +345,10 @@ class preFlightsChecks:
|
||||
self.stdOut(f"Successfully installed alternative: {alt_package}", 1)
|
||||
break
|
||||
|
||||
# Disable MariaDB 12.1 repository if MariaDB 10.x is already installed
|
||||
# This prevents upgrade attempts in Pre_Install_Required_Components
|
||||
self.disableMariaDB12RepositoryIfNeeded()
|
||||
|
||||
# Check if MariaDB is already installed before attempting installation
|
||||
is_installed, installed_version, major_minor = self.checkExistingMariaDB()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user