Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30571

MariaDB-client does not pull MariaDB-compat anymore, conflicts with RHEL packages

    XMLWordPrintable

Details

    Description

      In previous versions, installation of MariaDB-client RPM (e.g. on RHEL 7) would pull MariaDB-compat as a dependency:

      $ sudo yum install MariaDB-client
      Resolving Dependencies
      --> Running transaction check
      ---> Package MariaDB-client.x86_64 0:10.10.2-1.el7.centos will be installed
      --> Processing Dependency: MariaDB-common for package: MariaDB-client-10.10.2-1.el7.centos.x86_64
      --> Running transaction check
      ---> Package MariaDB-common.x86_64 0:10.10.2-1.el7.centos will be installed
      --> Processing Dependency: MariaDB-compat for package: MariaDB-common-10.10.2-1.el7.centos.x86_64
      --> Running transaction check
      ---> Package MariaDB-compat.x86_64 0:10.10.2-1.el7.centos will be installed
      --> Finished Dependency Resolution
       
      Dependencies Resolved
       
      ===============================================================================================================================================================================================
       Package                                         Arch                                    Version                                                Repository                                Size
      ===============================================================================================================================================================================================
      Installing:
       MariaDB-client                                  x86_64                                  10.10.2-1.el7.centos                                   mariadb                                   16 M
      Installing for dependencies:
       MariaDB-common                                  x86_64                                  10.10.2-1.el7.centos                                   mariadb                                   81 k
       MariaDB-compat                                  x86_64                                  10.10.2-1.el7.centos                                   mariadb                                  2.2 M
       
      Transaction Summary
      

      But not anymore:

      $ sudo yum install MariaDB-client
      Resolving Dependencies
      --> Running transaction check
      ---> Package MariaDB-client.x86_64 0:11.0.1-1.el7_9 will be installed
      --> Processing Dependency: MariaDB-client-compat for package: MariaDB-client-11.0.1-1.el7_9.x86_64
      --> Running transaction check
      ---> Package MariaDB-client-compat.noarch 0:11.0.1-1.el7_9 will be installed
      --> Finished Dependency Resolution
       
      Dependencies Resolved
       
      ===============================================================================================================================================================================================
       Package                                              Arch                                  Version                                       Repository                                      Size
      ===============================================================================================================================================================================================
      Installing:
       MariaDB-client                                       x86_64                                11.0.1-1.el7_9                                test-mariadb-es                                 17 M
      Installing for dependencies:
       MariaDB-client-compat                                noarch                                11.0.1-1.el7_9                                test-mariadb-es                                7.3 k
       
      Transaction Summary
      

      Because of this, if RHEL's mariadb-libs is pre-installed, which is often the case, installation fails:

      Transaction check error:
        file /etc/my.cnf.d from install of MariaDB-client-11.0.1-1.el7_9.x86_64 conflicts with file from package mariadb-libs-1:5.5.68-1.el7.x86_64
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.