Unable to install MySQL Community Server on CentOS Stream 10 or Red Hat Enterprise Linux 10.2
The package dependency is incorrect when installing MySQL Community Server. MaridDB Server becomes an installation candidate due to weak dependence. You can avoid it by using the --setopt=install_weak_deps=False option.
This problem did not occur in the previous version, but after it was updated to the latest version. It is reported on CentOS Stream 10 and RHEL 10.2.
It is not reproduced in RHEL 10.1.
The result of execution:
~$ LANG=C sudo dnf install mysql-community-server Last metadata expiration check: 0:18:02 ago on Sat May 30 22:58:02 2026. Dependencies resolved. ======================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================== Installing: mysql-community-server aarch64 9.7.0-1.el10 mysql-9.7-lts-community 55 M Installing dependencies: mariadb-connector-c aarch64 3.4.4-1.el10 baseos 209 k mariadb11.8 aarch64 3:11.8.6-2.el10 appstream 2.0 M mariadb11.8-common noarch 3:11.8.6-2.el10 appstream 54 k mariadb11.8-errmsg noarch 3:11.8.6-2.el10 appstream 223 k mysql-community-client aarch64 9.7.0-1.el10 mysql-9.7-lts-community 3.7 M mysql-community-client-plugins aarch64 9.7.0-1.el10 mysql-9.7-lts-community 1.5 M mysql-community-common aarch64 9.7.0-1.el10 mysql-9.7-lts-community 641 k mysql-community-icu-data-files aarch64 9.7.0-1.el10 mysql-9.7-lts-community 2.3 M mysql-community-libs aarch64 9.7.0-1.el10 mysql-9.7-lts-community 1.5 M mysql-selinux noarch 1.0.15-1.el10 appstream 36 k perl-DBD-MariaDB aarch64 1.23-10.el10 appstream 152 k perl-DBI aarch64 1.643-26.el10 appstream 712 k perl-File-Copy noarch 2.41-514.el10 appstream 21 k perl-Math-BigInt noarch 1:2.0030.03-3.el10 appstream 228 k perl-Math-Complex noarch 1.62-514.el10 appstream 47 k perl-Sys-Hostname aarch64 1.25-514.el10 appstream 18 k Installing weak dependencies: mariadb11.8-backup aarch64 3:11.8.6-2.el10 appstream 6.5 M mariadb11.8-client-utils noarch 3:11.8.6-2.el10 appstream 68 k mariadb11.8-gssapi-server aarch64 3:11.8.6-2.el10 appstream 15 k mariadb11.8-server aarch64 3:11.8.6-2.el10 appstream 9.8 M mariadb11.8-server-utils noarch 3:11.8.6-2.el10 appstream 24 k Transaction Summary ======================================================================================================================== Install 22 Packages Total size: 85 M Installed size: 486 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] mariadb-connector-c-3.4.4-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mariadb11.8-11.8.6-2.el10.aarch64.rpm: Already downloaded [SKIPPED] mariadb11.8-backup-11.8.6-2.el10.aarch64.rpm: Already downloaded [SKIPPED] mariadb11.8-client-utils-11.8.6-2.el10.noarch.rpm: Already downloaded [SKIPPED] mariadb11.8-common-11.8.6-2.el10.noarch.rpm: Already downloaded [SKIPPED] mariadb11.8-errmsg-11.8.6-2.el10.noarch.rpm: Already downloaded [SKIPPED] mariadb11.8-gssapi-server-11.8.6-2.el10.aarch64.rpm: Already downloaded [SKIPPED] mariadb11.8-server-11.8.6-2.el10.aarch64.rpm: Already downloaded [SKIPPED] mariadb11.8-server-utils-11.8.6-2.el10.noarch.rpm: Already downloaded [SKIPPED] mysql-selinux-1.0.15-1.el10.noarch.rpm: Already downloaded [SKIPPED] perl-DBD-MariaDB-1.23-10.el10.aarch64.rpm: Already downloaded [SKIPPED] perl-DBI-1.643-26.el10.aarch64.rpm: Already downloaded [SKIPPED] perl-File-Copy-2.41-514.el10.noarch.rpm: Already downloaded [SKIPPED] perl-Math-BigInt-2.0030.03-3.el10.noarch.rpm: Already downloaded [SKIPPED] perl-Math-Complex-1.62-514.el10.noarch.rpm: Already downloaded [SKIPPED] perl-Sys-Hostname-1.25-514.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-client-9.7.0-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-client-plugins-9.7.0-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-common-9.7.0-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-icu-data-files-9.7.0-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-libs-9.7.0-1.el10.aarch64.rpm: Already downloaded [SKIPPED] mysql-community-server-9.7.0-1.el10.aarch64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /usr/bin/mysql conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqladmin conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqlbinlog conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqlcheck conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqldump conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqlimport conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqlshow conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/mysqlslap conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysql.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqladmin.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqlbinlog.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqlcheck.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqldump.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqlimport.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqlshow.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysqlslap.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10.aarch64 and mysql-community-client-9.7.0-1.el10.aarch64 file /usr/bin/my_print_defaults conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-3:11.8.6-2.el10.aarch64 file /usr/bin/mysql_tzinfo_to_sql conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-3:11.8.6-2.el10.aarch64 file /usr/bin/mysqldumpslow conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-client-utils-3:11.8.6-2.el10.noarch file /usr/share/man/man1/my_print_defaults.1.gz conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-3:11.8.6-2.el10.aarch64 file /usr/share/man/man1/mysql_tzinfo_to_sql.1.gz conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-3:11.8.6-2.el10.aarch64 file /usr/share/man/man1/mysqldumpslow.1.gz conflicts between attempted installs of mysql-community-server-9.7.0-1.el10.aarch64 and mariadb11.8-client-utils-3:11.8.6-2.el10.noarch file /usr/bin/innochecksum conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/myisam_ftdump conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/myisamchk conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/myisamlog conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/myisampack conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/mysql_secure_installation conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/bin/perror conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/lib/systemd/system/mysqld.service conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/sbin/mysqld conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/innochecksum.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/myisam_ftdump.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/myisamchk.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/myisamlog.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/myisampack.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/mysql_secure_installation.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man1/perror.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /usr/share/man/man8/mysqld.8.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64 file /var/lib/mysql conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10.aarch64 and mysql-community-server-9.7.0-1.el10.aarch64
Confirmation method:
sudo dnf install -y https://dev.mysql.com/get/mysql84-community-release-el10-3.noarch.rpm sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2025 sudo dnf clean all sudo dnf makecache sudo dnf install mysql-community-server
Workarround:
sudo dnf install mysql-community-server --setopt=install_weak_deps=False
Responses