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

doesn't install on fedora if mysql is installed, part 2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.34
    • Fix Version/s: 5.5.36
    • Component/s: None
    • Labels:
    • Environment:
      Fedora 19

      Description

      Fedora 19 includes MariaDB now, but it looks like the packages in the MariaDB repo does not obsolete them.

      Transaction check error:
        file /etc/my.cnf from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/README from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/armscii8.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/ascii.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/cp1250.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/cp1251.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/cp1256.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
        file /usr/share/mysql/charsets/cp1257.xml from install of MariaDB-common-5.5.34-1.x86_64 conflicts with file from package mariadb-libs-1:5.5.33a-1.fc19.x86_64
      

      This looks similar to MDEV-5250, but this is on Fedora 19.

      The workaround is to remove the distro provided packages first.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              I don't have a good solution for this yet. What happens — some files that are in the Fedora's mysql-libs.rpm are in MariaDB-common, while others are in MariaDB-shared. So, both MariaDB packages conflict with mysql-libs.

              Ideally, when one has mysql-libs installed, an attempt to install anything MariaDB-* should install MariaDB-shared, replacing mysql-libs. But if mysql-libs isn't installed, MariDB-shared shouldn't be installed automatically, only when a user explicitly requests it. I am not sure if there's a way to tell yum to do that.

              I can, perhaps, check this condition in the MariaDB-common preinst script and abort with a verbose explanation, if needed.

              Oden Eriksson, do you have any suggestions?

              Show
              serg Sergei Golubchik added a comment - I don't have a good solution for this yet. What happens — some files that are in the Fedora's mysql-libs.rpm are in MariaDB-common, while others are in MariaDB-shared. So, both MariaDB packages conflict with mysql-libs. Ideally, when one has mysql-libs installed, an attempt to install anything MariaDB-* should install MariaDB-shared, replacing mysql-libs. But if mysql-libs isn't installed, MariDB-shared shouldn't be installed automatically, only when a user explicitly requests it. I am not sure if there's a way to tell yum to do that. I can, perhaps, check this condition in the MariaDB-common preinst script and abort with a verbose explanation, if needed. Oden Eriksson , do you have any suggestions?
              Hide
              oden Oden Eriksson added a comment -

              I have a solution for this while working on the deps, so you can add the http://yum.mariadb.org/ repo and do "yum update" which replaces the distro packages, but..., then I hit a brick wall and got no answer for quite a while now: https://lists.launchpad.net/maria-developers/msg06586.html

              Show
              oden Oden Eriksson added a comment - I have a solution for this while working on the deps, so you can add the http://yum.mariadb.org/ repo and do "yum update" which replaces the distro packages, but..., then I hit a brick wall and got no answer for quite a while now: https://lists.launchpad.net/maria-developers/msg06586.html
              Hide
              serg Sergei Golubchik added a comment -

              replied to the maria-developers email.

              what was your solution?

              Show
              serg Sergei Golubchik added a comment - replied to the maria-developers email. what was your solution?

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  wfong Will Fong
                • 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 - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h