Issue
If the PTF is damaged, it can be impossible to remove it using the RMVPTF command. This can happen when a Zend Server update PTF is damaged, but the method to remove it applies to any damaged PTF.
Environment
Any version of IBM i OS.
Resolution
If the PTF status is damaged, you need to reload it to remove it. Use LODPTF to load the PTF. Then, RMVPTF with the RMV(*PERM) parameter. This will usually work. If not, try the next step.
It may be possible to uninstall the damaged PTF using the old Navigator client included in Access for Windows . Please try this:
Launch Navigator (the standalone desktop client; we have not tried this with the web based Navigator).
Expand Management Central.
Expand Endpoint Systems.
Expand the entry for the affected system or partition.
Expand Configuration and Service
Expand Fixes Inventory - If prompted, run the Collect Inventory Now task.
Click All Fixes, or the product your PTF applies to 7PHPZND for Zend Server 9.1 and higher (6zsvrpiZSVRPI for Zend Server 6, 7, or 8).
Find the damaged PTF you want to remove. Verify the status is 'Available'.
If the PTF status is not 'Available', try right clicking the PTF and selecting 'Advanced' -> 'Cancel Actions'.
If the status is 'Available', right click the PTF and select 'Advanced' -> 'Uninstall'
Follow the prompts to complete the uninstall.
If this process does not help you get rid of the damaged PTF, please try a Clean Install, which is the process of removing and reinstalling the Licensed Program:
Perform a clean install of Zend Server for IBM i - Zend Server 8.5.x, Zend Server 2018.x and Zend Server 2019.x
Removing the Licensed Program should remove the damaged PTF.