Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Issue: RPM Patch Update Installer for 4.0 Products may remove product

Issue: RPM Patch Update Installer for 4.0 Products may remove product

Issue:

When using the “-U” option with the 4.0 Patch Update product, the base product is removed leaving no product files on the machine.

Example Install Scenario:

  • Customer has Micro Focus Development Hub 4.0 installed.
  • They want to install Micro Focus Development Hub 4.0 Patch Update 1.
  • They run “rpm –U visualcobol_devhub_4.0_patchupdate01_redhat_x86_64.rpm”
  • This runs without error but once complete there are no product files on the machine.

Code was added into the 4.0 RPM installer to remove any files left behind in the installer directory when the product was removed.  This was added to the post uninstall RPM section of the installer.

When an upgrade is performed the base products post uninstall actions are triggered and so the tidy code is run, resulting in all the product files being removed.

Fix:

Code has now been added to the tidy script to ensure it only runs on a true uninstall and not during an upgrade.

Affects:

This issue affects upgrading from the following products.

  • 4.0 GA
  • 4.0 Patch Update 1
  • 4.0 Patch Update 2
  • 4.0 Patch Update 3

This issue has been fixed in Patch Update 4 but because the uninstall function is run from the previous installed product this issue will only go away once Patch Update 4 is the base product and is being upgraded to Patch Update 5 or higher.

Workaround:

If the customer has installed a Patch Update via RPM -U and found the product is now missing they need to perform the following steps.

The product files have been removed from the machine but RPM still has the product installed.  So the RPM database need to be updated.

  • rpm –qa | grep Micro
  • rpm -e <package name from above command that pertains to the product being updated>

This will remove the product from the RPM database and save any confusion in the future.

Now just run the Patch Update installer with the normal options used for an install.

  • rpm –I < Patch Update RPM file>

The Patch update is a full install so all files found in the GA product plus those fixed and delivered in the Patch Update are installed.

If the customer has not yet run the Upgrade process they just need to remove the currently installed product and then install.

  • rpm –qa | grep Micro
  • rpm -e <package name from above command>
  • rpm –I < Patch Update RPM file>

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2018-10-04 20:45
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.