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

MariaDB-shared conflicts with libmariadb3 from openSUSE 15.1 repo

    XMLWordPrintable

Details

    Description

      I am setting it to Minor because I don't know an actual use case when one needs to install MariaDB-shared if libmariadb3 is already in the system. If there is such a use case, the priority may need to be changed.

      I've made a clean installation of openSUSE 15.1 with default settings, installation variant desktop + Gnome. It came with libmariadb3 package:

      libmariadb3-3.1.8-lp151.3.12.1.x86_64
      

      An attempt to install MariaDB-shared from MariaDB repos causes a conflict:

      elenst@linux-el2z:~> sudo zypper install MariaDB-shared
      Loading repository data...
      Reading installed packages...
      Resolving package dependencies...
       
      The following 2 NEW packages are going to be installed:
        MariaDB-common MariaDB-shared
       
      2 new packages to install.
      Overall download size: 183.6 KiB. Already cached: 0 B. After the operation, additional
      626.5 KiB will be used.
      Continue? [y/n/v/...? shows all options] (y): y
      Retrieving package MariaDB-common-10.2.32-1.x86_64
                                                        (1/2),  78.1 KiB (298.0 KiB unpacked)
      Retrieving: MariaDB-common-10.2.32-1.x86_64.rpm ....................[done (16.0 KiB/s)]
      Retrieving package MariaDB-shared-10.2.32-1.x86_64
                                                        (2/2), 105.5 KiB (328.6 KiB unpacked)
      Retrieving: MariaDB-shared-10.2.32-1.x86_64.rpm ....................[done (48.0 KiB/s)]
       
      Checking for file conflicts: ...................................................[error]
      Detected 1 file conflict:
       
      File /usr/lib64/libmariadb.so.3
        from install of
           MariaDB-shared-10.2.32-1.x86_64 (mariadb)
        conflicts with file from package
           libmariadb3-3.1.8-lp151.3.12.1.x86_64 (@System)
       
      File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
      

      Tried 10.2 and 10.5, I assume it's the same for 10.3 and 10.4.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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