Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1278

RPM: Upgrade does not work from 1.15 to 1.15.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.15.1
    • Build System
    • None

    Description

      It seems there is an issue with upgrading the 1.15 version of MADlib rpm. The RPM upgrade process works as follows:

      Run the %pre section of the RPM being installed.
      Install the files that the RPM provides.
      Run the %post section of the RPM.
      Run the %preun of the old package.
      Delete any old files not overwritten by the newer version. ...
      Run the %postun hook of the old package.
      

      In version 1.15, we added a post-uninstall script that removed the links for Current, bin and doc folders (also cleaned the Versions folder if empty). While this makes sense for uninstallation, upgrade process runs this script at the end and removes the newly updated links.

      We should provide a script to recreate these links with the release of 1.15.1 and any other release that supports upgrading from 1.15.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              okislal Orhan Kislal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: