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

RPM packages are wrongly marked as replacing MySQL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 5.5.30, 5.5.29-galera
    • None
    • None

    Description

      I have both MySQL rpms (from MySQL) and MariaDB and MariaDB-Galera packages in my local repo - as I am working om moving servers to using MariaDB (and some MariaDB-Galera).

      My problem is, that with those packages in my local repo - yum suggests hopeless updates - such as this:

       MariaDB-Galera-server                                                      x86_64                                          5.5.29-1                                                                 yousee                                                               19 M
           replacing  MySQL-server.x86_64 5.5.30-1.el6
       MariaDB-client                                                             x86_64                                          5.5.30-1                                                                 yousee                                                               10 M
           replacing  MySQL-client.x86_64 5.5.30-1.el6
       MariaDB-server                                                             x86_64                                          5.5.30-1                                                                 yousee                                                               33 M
           replacing  MySQL-server.x86_64 5.5.30-1.el6

      I think it would be fixed by something like this:

      • MariaDB-Server - should have MariaDB-Galera-Server and MySQL-Server listed as conflicts (and vice versa for MariaDB-Galera).
      • I think it's this obsoletes lines, that doesn't work (atleast with RPM version in RHEL 6):

        Obsoletes:	mysql < %{version}-%{release}

        so it should be removed - this way you'll have to MANUALLY and ACTIVELY ask to install MariaDB-Server or MariaDB-Galera-Server - to get your current replaced - instead of a yum update wanting to do it automaticly for you

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              KlavsKlavsen Klavs Klavsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.