Hello. I have a problem with updating mariaDB to the latest version. After updating the repo to the latest version, I get error messages when updating the DNF. I am unable to cope with updating mariadb to the latest version. Below is the message from the terminal:
Blockquote
Error: Transaction test error:
the /usr/share/mysql/charsets/Index.xml file from the MariaDB-common-11.0.3-1.el8.x86_64 installation conflicts with the file from the mysql-common-8.0.32-1.module_el8.8.0+3567 package +56a616e4.x86_64
the /usr/share/mysql/charsets/armscii8.xml file from the MariaDB-common-11.0.3-1.el8.x86_64 installation conflicts with the file from the mysql-common-8.0.32-1.module_el8.8.0+3567 package +56a616e4.x86_64
the /usr/share/mysql/charsets/ascii.xml file from the MariaDB-common-11.0.3-1.el8.x86_64 installation conflicts with the file from the mysql-common-8.0.32-1.module_el8.8.0+3567 package +56a616e4.x86_64
…
Seems like two packages,
MariaDB-common-11.0.3-1.el8.x86_64
mysql-common-8.0.32-1.module_el8.8.0+3567+56a616e4.x86_64
provides same file. That seems normal:
$ dnf -q provides /usr/share/mysql/charsets/Index.xml
mysql-common-8.0.30-1.module_el8.6.0+3340+d764b636.x86_64 : The shared files required for MySQL server and
: client
Repo : appstream
Matched from:
Filename : /usr/share/mysql/charsets/Index.xml
mysql-common-8.0.32-1.module_el8.8.0+3567+56a616e4.x86_64 : The shared files required for MySQL server and
: client
Repo : appstream
Matched from:
Filename : /usr/share/mysql/charsets/Index.xml
However, the packages:
$ dnf -q list mariadb-common mysql-common
Available Packages
mariadb-common.x86_64 3:10.3.35-1.module_el8.6.0+3265+230ed96b appstream
mysql-common.x86_64 8.0.32-1.module_el8.8.0+3567+56a616e4 appstream
are different, the Alma 8 has mariadb 10.3, while you see MariaDB 11.
Application Streams do not explain that, no “mariadb 11” streams in:
$ dnf -q module list \*sql\* \*aria\*
AlmaLinux 8 - x86_64 - AppStream - SBL
Name Stream Profiles Summary
mariadb 10.3 [d] client, galera, server [d] MariaDB Module
mariadb 10.5 client, galera, server [d] MariaDB Module
mysql 8.0 [d] client, server [d] MySQL Module
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d] client, server [d] PostgreSQL server and client module
postgresql 12 client, server [d] PostgreSQL server and client module
postgresql 13 client, server [d] PostgreSQL server and client module
postgresql 15 client, server [d] PostgreSQL server and client module
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
You have third-party (repo) MariaDB?
I would disable the myql stream:
dnf module disable mysql
Logically, that should make the mysql packages invisible.
1 Like