Description:
This is the same issue as #119089 except that it also happens on RHEL 10 as below:
```
Error: Transaction test error:
file /usr/bin/mysqldumpslow conflicts between attempted installs of mysql-community-server-8.4.9-1.el10.x86_64 and mariadb11.8-client-utils-3:11.8.6-2.el10_2.alma.1.noarch
file /usr/share/man/man1/mysqldumpslow.1.gz conflicts between attempted installs of mysql-community-server-8.4.9-1.el10.x86_64 and mariadb11.8-client-utils-3:11.8.6-2.el10_2.alma.1.noarch
file /usr/bin/innochecksum conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/myisam_ftdump conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/myisamchk conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/myisamlog conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/myisampack conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/mysql_secure_installation conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/perror conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/lib/systemd/system/mysqld.service conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/sbin/mysqld conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/innochecksum.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/myisam_ftdump.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/myisamchk.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/myisamlog.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/myisampack.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysql_secure_installation.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/perror.1.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man8/mysqld.8.gz conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /var/lib/mysql conflicts between attempted installs of mariadb11.8-server-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/my_print_defaults conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/mysql conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysql_tzinfo_to_sql conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/bin/mysqladmin conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqlbinlog conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqlcheck conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqldump conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqlimport conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqlshow conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/bin/mysqlslap conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/my_print_defaults.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysql.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysql_tzinfo_to_sql.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-server-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqladmin.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqlbinlog.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqlcheck.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqldump.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqlimport.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqlshow.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
file /usr/share/man/man1/mysqlslap.1.gz conflicts between attempted installs of mariadb11.8-3:11.8.6-2.el10_2.alma.1.x86_64 and mysql-community-client-8.4.9-1.el10.x86_64
```
Although the avobe error message was occurred on AlmaLinux 10, this is not an issue a RHEL 10-specific bug, but RPM package itself.
Therefore, the same error should occur on RHEL 10 as well.
How to repeat:
$ sudo dnf install -y https://repo.mysql.com/mysql84-community-release-el10.rpm
$ sudo dnf config-manager --disable mysql-9.7-lts-community
$ sudo dnf config-manager --enable mysql-8.4-lts-community
$ sudo dnf config-manager --disable mysql-tools-9.7-lts-community
$ sudo dnf config-manager --enable mysql-tools-8.4-lts-community
$ sudo dnf install -y mysql-community-server
Suggested fix:
We should add the same changes as https://github.com/mysql/mysql-server/commit/5569aa38fa0be20082f122dbd38a63b4cef1f6b8#diff... to mysql-server/packaging/rpm-oel/mysql.spec.in.
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders. It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.