MariaDB conflicts with unixODBC and filesystem

Issues related to applications and software problems
Post Reply
Eyad Bereh
Posts: 1
Joined: 2021/10/02 10:43:40

MariaDB conflicts with unixODBC and filesystem

Post by Eyad Bereh » 2021/10/02 11:07:39

Greetings to all members and moderators

I've got a VPS which runs CentOS 7, and i would like to install MariaDB 10.6.4
Before going on with the problem, i've already had MariaDB 5.5 installed, so i completely uninstalled it alongside its shared libraries (mariadb-libs), but when i tried to install MariaDB 10.6.4 i've got the following error message:
file /usr/share/man/man1 from install of MariaDB-client-10.6.4-1.el7.x86_64 conflicts with file from package unixODBC-2.3.7-1.rh.x86_64
file /usr/share/man/man1 from install of MariaDB-client-10.6.4-1.el7.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
Steps to reproduce:
I downloaded the source from https://downloads.mariadb.org/mariadb/10.6.4/ and compiled it as being explained in https://mariadb.com/kb/en/source-buildi ... on-centos/ , and this has generated the following rpm files:
  • MariaDB--centos7-x86_64-backup.rpm
  • MariaDB--centos7-x86_64-client.rpm
  • MariaDB--centos7-x86_64-common.rpm
  • MariaDB--centos7-x86_64-connect-engine.rpm
  • MariaDB--centos7-x86_64-devel.rpm
  • MariaDB--centos7-x86_64-gssapi-server.rpm
  • MariaDB--centos7-x86_64-rocksdb-engine.rpm
  • MariaDB--centos7-x86_64-server.rpm
  • MariaDB--centos7-x86_64-shared.rpm
  • MariaDB--centos7-x86_64-test.rpm
At first, i've installed:
  • MariaDB-shared-10.6.4-1.el7.x86_64
  • MariaDB-common-10.6.4-1.el7.x86_64
But after that, running the command

Code: Select all

sudo rpm i MariaDB--centos7-x86_64-client.rpm
yields the aforementioned error

To be honest, i've found the following 2 links while i was investigating the problem: But i couldn't understand the fix
If someone could point me to the solution that would be great
Thanks in advance

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: MariaDB conflicts with unixODBC and filesystem

Post by TrevorH » 2021/10/02 13:36:33

These are packaging bugs in the mariadb packages and need to be reported to the people that produce them. They should not be supplying files that are already supplied by CentOS provided packages.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: MariaDB conflicts with unixODBC and filesystem

Post by jlehtone » 2021/10/03 06:25:51

Note: CentOS SIG has small repo(s) for OpenStack. The latest ones supply MariaDB 10.3.20. That definitely installs cleanly (but is no 10.6).

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: MariaDB conflicts with unixODBC and filesystem

Post by TrevorH » 2021/10/03 11:48:42

The IUS repo has mariadb 10.4.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply