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

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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.34
    • 5.5.36
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            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, do you have any suggestions?

            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 , do you have any suggestions?
            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

            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

            replied to the maria-developers email.

            what was your solution?

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

            People

              serg Sergei Golubchik
              wfong Will Fong
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.