Skip to content

centos2alma process has failed. Error: Failed: update modern mariadb. #313

Description

@osprinzl

Describe the bug
I tried to upgrade a CentOS 7 system to Alma Linux 8. This system has a custom MariaDB installation (10.4). As far as I understand this will be reinstalled with CentOS/AlmaLinux 8 MariaDB packages. Here is a problem in the update/reinstall routine, it generates a yum error and breaks further install:

2024-07-24 02:49:52,497 - INFO - Running: ['/usr/bin/yum', 'install', '--repo', 'alma-alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server']. Output:
2024-07-24 02:49:52,662 - INFO - Loaded plugins: fastestmirror
2024-07-24 02:49:52,666 - INFO - Command line error: no such option: --repo
2024-07-24 02:49:52,666 - INFO - Usage: yum [options] COMMAND
...
2024-07-24 02:49:52,679 - ERROR - Command ['/usr/bin/yum', 'install', '--repo', 'alma-alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server'] failed with return code 1
2024-07-24 02:49:52,679 - ERROR - Failed: update modern mariadb. The reason: Command '['/usr/bin/yum', 'install', '--repo', 'alma-alma-mariadb', '-y', 'MariaDB-client', 'MariaDB-server']' returned non-zero exit status 1.

Could this be fixed?

The upgrade routine removes the following RPM packages:
MariaDB-server
MariaDB-common
MariaDB-compat
MariaDB-client
But it needs to remove galera-4-26.4.18-1.el7.centos.x86_64 as well!

Kernel: 3.10.0-1160.119.1.el7.x86_64

Feedback archive
centos2alma_feedback.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions