file /usr/share/mysql/charsets/macroman.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
It seems there is some package about mysql that were installed prior to mariadb and your packages are conflicting.
Is that a brand new VM or is there an existing mysql database on it ?
Hi, yes fresh installed… no db and so on installed

That’s still strange but i guess ignore mysql in that case yeah
all package with “mysql”
mysql-common x86_64 8.0.43-1.el9_6 rhel-9-for-x86_64-appstream-rpms
mysql-libs x86_64 8.0.43-1.el9_6 codeready-builder-for-rhel-9-x86_64-rpms
mysql-selinux
perl-DBD-MySQL
php-mysqlnd
i check this ;)
i exclude mysql-co*
installation is done :) all fine …
thanks
Installation Ok
reboot
dnf update check
dnf update
Updating Subscription Management repositories.
Last metadata expiration check: 0:15:28 ago on Thu 13 Nov 2025 09:31:32 AM CET.
Dependencies resolved.
===============================================================================
Upgrading:
perl-DBD-MySQL x86_64 4.053-1.el9 rhel-9-for-x86_64-appstream-rpms 146 k
Installing dependencies:
mysql-common x86_64 8.0.43-1.el9_6 rhel-9-for-x86_64-appstream-rpms 72 k
mysql-libs x86_64 8.0.43-1.el9_6 codeready-builder-for-rhel-9-x86_64-rpms 1.2 M
Transaction Summary
::::
rpm -qi perl-DBD-MySQL
Name : perl-DBD-MySQL
Version : 4.050
Release : 13.el9
Architecture: x86_64
Install Date: Thu 13 Nov 2025 09:31:39 AM CET
Group : Unspecified
Size : 372960
License : GPL+ or Artistic
Signature : RSA/SHA256, Fri 26 Nov 2021 05:38:19 PM CET, Key ID 199e2f91fd431d51
Source RPM : perl-DBD-MySQL-4.050-13.el9.src.rpm
Build Date : Tue 10 Aug 2021 06:48:27 PM CEST
Build Host : x86-vm-56.build.eng.bos.redhat.com
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : https://metacpan.org/release/DBD-mysql
Summary : A MySQL interface for Perl
Description :
DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In
other words: DBD::mysql is an interface between the Perl programming language
and the MySQL programming API that comes with the MySQL relational database
management system.
rpm -qa | grep -i mariadb
MariaDB-shared-10.11.15-1.el9.x86_64
MariaDB-common-10.11.15-1.el9.x86_64
MariaDB-client-10.11.15-1.el9.x86_64
MariaDB-server-10.11.15-1.el9.x86_64
centreon-mariadb-24.10.14-1.el9.noarch
rpm -e --test perl-DBD-MySQL
error: Failed dependencies:
perl(DBD::mysql) is needed by (installed) centreon-plugin-Applications-Databases-Mysql-20251000-1.el9.noarch
perl(DBD::mysql) is needed by (installed) centreon-plugin-Applications-Monitoring-Centreon-Central-20251000-1.el9.noarch
perl(DBD::mysql) is needed by (installed) centreon-plugin-Applications-Monitoring-Centreon-Database-20251000-1.el9.noarch
perl(DBD::mysql) is needed by (installed) centreon-gorgone-24.10.8-1.el9.noarch
perl-DBD-MySQL is needed by (installed) centreon-poller-24.10.14-1.el9.noarch
perl-DBD-MySQL is needed by (installed) centreon-web-24.10.14-1.el9.noarch
Upgrading:
perl-DBD-MySQL x86_64 4.053-1.el9 rhel-9-for-x86_64-appstream-rpms 146 k
Installing dependencies:
mysql-common x86_64 8.0.43-1.el9_6 rhel-9-for-x86_64-appstream-rpms 72 k
mysql-libs
Error: Transaction test error:
file /usr/share/mysql/charsets/Index.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
hi
I had the same problem with fresh install centreon 25.10
if you run that before installation : sudo dnf install mariadb mariadb-server
and after :
curl -L -s https://raw.githubusercontent.com/centreon/centreon/dev-25.10.x/centreon/unattended.sh | sh
It’s working , no error after
Alain
I encounter the same problem trying to update my system.
Centreon 24.10.14 on AlmaLinux 9.6 (the system has been installed ~1.5y and updated regularly).
Now when trying to :
dnf -y update
I get :
Error: Transaction test error:
file /usr/share/mysql/charsets/Index.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/greek.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/macce.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
Those are new dependencies, as they are new install on update :
Dependencies resolved.
=============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================================================================================================================================
Upgrading:
NetworkManager x86_64 1:1.54.0-3.el9_7 baseos 2.3 M
////////// TRUNCATED FOR SIZE ///////
unzip x86_64 6.0-59.el9 baseos 179 k
xfsprogs x86_64 6.4.0-7.el9 baseos 1.1 M
yum noarch 4.14.0-31.el9.alma.1 baseos 90 k
Installing dependencies:
llvm-filesystem x86_64 20.1.8-3.el9 appstream 9.1 k
mysql-common x86_64 8.0.43-1.el9_6 appstream 68 k
mysql-libs x86_64 8.0.43-1.el9_6 appstream 1.2 M
spirv-tools-libs x86_64 2025.2-1.el9 appstream 1.5 M
systemtap-sdt-dtrace x86_64 5.3-3.el9 appstream 69 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 5 Packages
Upgrade 824 Packages
Total size: 326 M
Any recommendations ? Thanks !