IBM Installation Manager - Resolve "CRIMA1020E ERROR: Failed to extract zip File already exists"

by
Jeremy Canfield |
Updated: November 17 2022
| IBM Installation Manager articles
Let's say something like this is being returned when attempting to upgrade a package using the imcl (Installation Manager command line tool) command line tool.
CRIMA1020E ERROR: Failed to extract zip com.ibm.websphere.ND.itlm.nd_035_dist.all 8.5.5021.202202021812.
File /opt/WebSphere/AppServer/properties/version/ibm.com_WebSphere_Application_Server_Network_Deployment-8.5.5.21.swidtag already exists.
Here are files that I've happened upon that have returned CRIMA1020E.
- /opt/WebSphere/AppServer/properties/version/ibm.com_WebSphere_Application_Server_Network_Deployment-<version>.swidtag
- /opt/WebSphere/AppServer/installableApps/metrics.ear
- /opt/WebSphere/AppServer/properties/service/productDir/WebSphere/service/actions/modifyMaxHeapSizeJspBatchCompiler.ant
You can rename the files that already exist and then reissue the imcl command.
cd /opt/WebSphere/AppServer/properties/version/
mv ibm.com_WebSphere_Application_Server_Network_Deployment-<version>.swidtag ibm.com_WebSphere_Application_Server_Network_Deployment-<version>.swidtag.old
cd /opt/WebSphere/AppServer/installableApps/
mv metrics.earĀ metrics.ear.old
cd /opt/WebSphere/AppServer/properties/service/productDir/WebSphere/service/actions/
mv modifyMaxHeapSizeJspBatchCompiler.ant modifyMaxHeapSizeJspBatchCompiler.ant.old
Did you find this article helpful?
If so, consider buying me a coffee over at