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

Older RPMs Not Being Removed During Upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.32
    • Fix Version/s: 5.5.37
    • Component/s: None
    • Labels:
    • Environment:
      CentOS 5

      Description

      In CentOS 5, when upgrading a minor release of 5.5 (only tested 5.5.30->5.5.31, 5.5.31->5.5.32), if the mysqld server instance is not running, the previous MariaDB-server package is not removed. The server itself has successfully been upgraded.

      This seems to only affect upgrading CentOS 5, not CentOS 6, and only if the service instance is not running. This seems to indicate an RPM packaging issue.

      It looks to be because of the post uninstall script, as seen by this error:
      error:

      %postun(MariaDB-server-5.5.31-1.x86_64) scriptlet failed, exit status 3

      Attached shows the old RPM still present in the system.

      Thanks,
      -will

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ywliu Hoffmann Liu added a comment -

            I can confirm this one with 10.0.x too. I am using Centos 5.7 and this happens when I updated from 10.0.6 to 10.0.7 too.

            But I think this doesn't happen too all of my CentOS 5 servers , however. Just some of them do.

            Show
            ywliu Hoffmann Liu added a comment - I can confirm this one with 10.0.x too. I am using Centos 5.7 and this happens when I updated from 10.0.6 to 10.0.7 too. But I think this doesn't happen too all of my CentOS 5 servers , however. Just some of them do.

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                wfong Will Fong
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: