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

MariaDB-client community can't be installed in red hat ubi9

Details

    Description

      MariaDB-client can't be installed with official red hat ubi9 docker container

      tested with MariaDB-client-10.6.15-1.el9.x86_64

      #7 74.52  Problem: cannot install the best candidate for the job
      #7 74.52   - nothing provides libpmem.so.1()(64bit) needed by MariaDB-client-10.6.15-1.el9.x86_64 from mariadb-main
      #7 74.52   - nothing provides libpmem.so.1(LIBPMEM_1.0)(64bit) needed by MariaDB-client-10.6.15-1.el9.x86_64 from mariadb-main
      

      to reproduce:

      docker run -it --name ubi92 registry.access.redhat.com/ubi9/ubi
       
      in docker: 
       
      yum install wget
       
      wget https://r.mariadb.com/downloads/mariadb_repo_setup
       
      chmod +x mariadb_repo_setup
       
       ./mariadb_repo_setup --skip-check-installed --mariadb-server-version="mariadb-10.6"
       
        yum install MariaDB-client
      

      Attachments

        Issue Links

          Activity

            mdomsch Matt Domsch added a comment -

            As a workaround, one can install the packages from RHEL if you have access to it, or CentOS Stream 9 otherwise.

            rpm -ivh https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm
            sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/centos*
            microdnf -y --enablerepo=baseos --enablerepo=appstream install MariaDB-client
            

            mdomsch Matt Domsch added a comment - As a workaround, one can install the packages from RHEL if you have access to it, or CentOS Stream 9 otherwise. rpm -ivh https: //mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/centos* microdnf -y --enablerepo=baseos --enablerepo=appstream install MariaDB-client

            Okay, so it's provided in RHEL9. But (as the comment above says) it's deprecated — perhaps this deprecation is a good enough reason for us to stop linking with it.

            serg Sergei Golubchik added a comment - Okay, so it's provided in RHEL9. But (as the comment above says) it's deprecated — perhaps this deprecation is a good enough reason for us to stop linking with it.

            We'll stop linking with libpmem, see MDEV-33447.

            serg Sergei Golubchik added a comment - We'll stop linking with libpmem, see MDEV-33447 .

            Given that I would only fix MDEV-33447 from 10.11 onwards, I think that this issue needs to be fixed in 10.6 by removing the libpmem dependency without any replacement. It is not a loss for 10.6; in MDEV-25124 there was no measurable performance impact.

            marko Marko Mäkelä added a comment - Given that I would only fix MDEV-33447 from 10.11 onwards, I think that this issue needs to be fixed in 10.6 by removing the libpmem dependency without any replacement. It is not a loss for 10.6; in MDEV-25124 there was no measurable performance impact.
            marko Marko Mäkelä added a comment - - edited

            Note: In MariaDB Server 10.11 and later, the PMEM interface will remain, but without a dependency on libpmem. See MDEV-33447.

            marko Marko Mäkelä added a comment - - edited Note: In MariaDB Server 10.11 and later, the PMEM interface will remain, but without a dependency on libpmem . See MDEV-33447 .

            People

              marko Marko Mäkelä
              Richard Richard Stracke
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.