Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-6750

The installation of client packages could cause a file conflict in Red Hat Enterprise Linux 8.

Details

    Description

      Hi,

       

      I was about to install latest Percona Server 5.7 on CentOS 8 according to:

      https://www.percona.com/blog/2019/05/31/rhel-8-packages-available-for-percona- products/

       

      But there are packaging mistakes in Percona-Server-client-57-5.7.28-31.1.el8.x86_64 that prevents the install. /usr/bin/mysql_config and /usr/bin/mysql_config-64 belongs to Percona-Server-devel-57.x86_64 and is indeed provided by Percona-Server-devel-57. So, the fix is rather easy.

      1. cat /etc/redhat-release
        CentOS Linux release 8.0.1905 (Core)

      [[email protected] /]# dnf install -y Percona-Server-server-57 Percona-Server-client-57
      Last metadata expiration check: 0:02:52 ago on Sun Dec 29 15:41:32 2019.
      Dependencies resolved.
      ==============================================================================================================================================================================================================================================
      Package Arch Version Repository Size
      ==============================================================================================================================================================================================================================================
      Installing:
      Percona-Server-client-57 x86_64 5.7.28-31.1.el8 percona-release-x86_64 7.4 M
      Percona-Server-server-57 x86_64 5.7.28-31.1.el8 percona-release-x86_64 31 M
      replacing mariadb-connector-c-config.noarch 3.0.7-1.el8
      Installing dependencies:
      compat-openssl10 x86_64 1:1.0.2o-3.el8 AppStream 1.1 M
      Percona-Server-shared-57 x86_64 5.7.28-31.1.el8 percona-release-x86_64 750 k
      Percona-Server-shared-compat-57 x86_64 5.7.28-31.1.el8 percona-release-x86_64 1.2 M

      Transaction Summary
      ==============================================================================================================================================================================================================================================
      Install 5 Packages

      Total size: 41 M
      Downloading Packages:
      [SKIPPED] compat-openssl10-1.0.2o-3.el8.x86_64.rpm: Already downloaded
      [SKIPPED] Percona-Server-client-57-5.7.28-31.1.el8.x86_64.rpm: Already downloaded
      [SKIPPED] Percona-Server-server-57-5.7.28-31.1.el8.x86_64.rpm: Already downloaded
      [SKIPPED] Percona-Server-shared-57-5.7.28-31.1.el8.x86_64.rpm: Already downloaded
      [SKIPPED] Percona-Server-shared-compat-57-5.7.28-31.1.el8.x86_64.rpm: Already downloaded
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      The downloaded packages were saved in cache until the next successful transaction.
      You can remove cached packages by executing 'dnf clean packages'.
      Error: Transaction check error:
      file /usr/bin/mysql_config from install of Percona-Server-client-57-5.7.28-31.1.el8.x86_64 conflicts with file from package mariadb-connector-c-devel-3.0.7-1.el8.x86_64

      Error Summary
      -------------

       

      Proposed fix:

       

      [[email protected] /]# diff -u percona-server.spec percona-server.spec.oden
      — percona-server.spec 2019-12-29 16:03:13.303000000 +0100
      +++ percona-server.spec.oden 2019-12-29 16:04:22.634000000 +0100
      @@ -922,8 +922,6 @@
      %attr(755, root, root) %{_bindir}/mysqlpump
      %attr(755, root, root) %{_bindir}/mysqlshow
      %attr(755, root, root) %{_bindir}/mysqlslap
      -%attr(755, root, root) %{_bindir}/mysql_config
      %attr(755, root, root) %{bindir}/mysql_config%{_isa_bits}
      %attr(755, root, root) %{_bindir}/mysql_config_editor

      %attr(644, root, root) %{_mandir}/man1/mysql.1*

       

       

      Cheers.

       

      Attachments

        Activity

          People

            alex.miroshnychenko Alex Miroshnychenko
            oden Oden Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 day
                1d

                Smart Checklist