Error with CentOS 7 MariaDB Repository

Issues related to applications and software problems
Post Reply
jxfish2
Posts: 24
Joined: 2013/03/08 15:07:48

Error with CentOS 7 MariaDB Repository

Post by jxfish2 » 2019/08/12 14:10:15

To whom it may concern,

There is a problem with the current repository, as it pertains to MariaDB.

When I attempt to install the MariaDB Server, I get a dependency error.
The error states:

"Error: Package: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (base)
Requires: mariadb-libs(x86-64) = 1:5.5.60-1.el7_5
Error: Package: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (base)
Requires: mariadb(x86-64) = 1:5.5.60-1.el7_5"

Both of these packages exist, but the name is slightly different, and they are not being picked up by yum.

mariadb-libs.x86-64 exists as: mariadb-libs.x86_64. The actual name has an "_", not a "-".

mariadb.x86-64 exists as: mariadb.x86_64. The actual name has an "_", not a "-".

I manually installed both dependent packages, but the mariadb-server install is still looking for these dependent packages with the "-", when it should be an "_".

Is there a way that I can force the install to use the dependent packages, with the different name?

Would it break anything, if I was to use the "--skip-broken" option?

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

Re: Error with CentOS 7 MariaDB Repository

Post by TrevorH » 2019/08/12 14:22:45

Sounds like you are not using our copy of mariadb to me:

Code: Select all

[root@centos7 ~]# yum list mariadb\*
Loaded plugins: priorities
725 packages excluded due to repository priority protections
Installed Packages
mariadb.x86_64                                                1:5.5.60-1.el7_5                                     @updates
mariadb-libs.x86_64                                           1:5.5.60-1.el7_5                                     @updates
mariadb-server.x86_64                                         1:5.5.60-1.el7_5                                     @updates
Available Packages
mariadb-bench.x86_64                                          1:5.5.60-1.el7_5                                     base    
mariadb-devel.i686                                            1:5.5.60-1.el7_5                                     base    
mariadb-devel.x86_64                                          1:5.5.60-1.el7_5                                     base    
mariadb-embedded.i686                                         1:5.5.60-1.el7_5                                     base    
mariadb-embedded.x86_64                                       1:5.5.60-1.el7_5                                     base    
mariadb-embedded-devel.i686                                   1:5.5.60-1.el7_5                                     base    
mariadb-embedded-devel.x86_64                                 1:5.5.60-1.el7_5                                     base    
mariadb-libs.i686                                             1:5.5.60-1.el7_5                                     base    
mariadb-test.x86_64                                           1:5.5.60-1.el7_5                                     base  
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
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Error with CentOS 7 MariaDB Repository

Post by avij » 2019/08/12 14:31:24

You are misinterpreting the results. mariadb.x86_64 and mariadb(x86-64) are both correct. See yum provides 'mariadb(x86-64)' for example. Your issue is probably some conflicting 3rd party repo, but your yum output snippet does not provide enough detail.

jxfish2
Posts: 24
Joined: 2013/03/08 15:07:48

Re: Error with CentOS 7 MariaDB Repository

Post by jxfish2 » 2019/08/12 15:03:41

Here is the output from the "yum list mariadb\*":

--> yum list mariadb\*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
* rpmforge: repoforge.spinellicreations.com
Available Packages
mariadb.x86_64 1:5.5.60-1.el7_5 base
mariadb-bench.x86_64 1:5.5.60-1.el7_5 base
mariadb-devel.i686 1:5.5.60-1.el7_5 base
mariadb-devel.x86_64 1:5.5.60-1.el7_5 base
mariadb-embedded.i686 1:5.5.60-1.el7_5 base
mariadb-embedded.x86_64 1:5.5.60-1.el7_5 base
mariadb-embedded-devel.i686 1:5.5.60-1.el7_5 base
mariadb-embedded-devel.x86_64 1:5.5.60-1.el7_5 base
mariadb-libs.i686 1:5.5.60-1.el7_5 base
mariadb-libs.x86_64 1:5.5.60-1.el7_5 base
mariadb-server.x86_64 1:5.5.60-1.el7_5 base
mariadb-test.x86_64 1:5.5.60-1.el7_5 base

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

Re: Error with CentOS 7 MariaDB Repository

Post by TrevorH » 2019/08/12 15:07:49

Try rpm -qa | grep -i maria
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

jxfish2
Posts: 24
Joined: 2013/03/08 15:07:48

Re: Error with CentOS 7 MariaDB Repository

Post by jxfish2 » 2019/08/12 15:13:50

Never mind, I found the issue.

Prior to trying the MariaDB install, I had installed the MySQL Community Server.

There were remnants of that install that had not been completely removed, and they were causing a conflict.

After removing all traces of the MySQL Community Server install, MariaDB installed correctly.

Thanks for your comments, and have a great week.

Post Reply