Call disableMariaDB12RepositoryIfNeeded earlier in main() function

- Called immediately after apply_os_specific_fixes()
- Runs before Pre_Install_Required_Components attempts MariaDB installation
- Ensures dnf exclude is set before any package operations
- Prevents MariaDB upgrade attempts
This commit is contained in:
master3395
2026-01-26 21:49:17 +01:00
parent 65af295f0e
commit ba43d72649

View File

@@ -6396,6 +6396,10 @@ def main():
# Apply OS-specific fixes early in the installation process
checks.apply_os_specific_fixes()
# CRITICAL: Disable MariaDB 12.1 repository and add dnf exclude BEFORE any MariaDB installation attempts
# This must run before Pre_Install_Required_Components tries to install MariaDB
checks.disableMariaDB12RepositoryIfNeeded()
# Ensure MySQL password file is created early to prevent FileNotFoundError
checks.ensure_mysql_password_file()