Orhan Kislal created MADLIB-1278:
------------------------------------

             Summary: RPM: Upgrade does not work from 1.15 to 1.15.1
                 Key: MADLIB-1278
                 URL: https://issues.apache.org/jira/browse/MADLIB-1278
             Project: Apache MADlib
          Issue Type: Bug
          Components: Build System
            Reporter: Orhan Kislal


It seems there is an issue with upgrading the 1.15 version of MADlib rpm. The 
RPM upgrade process works as follows:
{code}
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.
{code}
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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to