Uninstalling fixes by using the command line

You can uninstall fixes that WebSphere Automation installed by using the Installation Manager imcl uninstall command.

Before you begin

You must have administrator credentials for the server, the ID for the fix, and the directory locations for the server installation and Installation Manager.

About this task

The command-line method can be used to uninstall any fix package that is installed on a server installation, unlike Uninstalling fixes by using the UI, which removes only the most recently applied fix. However, using this command-line method does not create a fix management record for the uninstallation of the fix package. If you use the command-line method, the WebSphere Automation UI continues to show that the fix is installed on the server installation. If you attempt to uninstall an uninstalled fix package using the UI method, the uninstallation fails. A fix management record in this state prevents the UI method from being used to uninstall any fix packages that were previously applied to the server installation.

Procedure

  1. Open a command-line interface on the server with the fix that you want to uninstall.
  2. Uninstall the fix.
    <installation_manager_root>/eclipse/tools/imcl uninstall \
    <fix_ID> -installationDirectory <websphere_installation_directory> \
     -dataLocation <installation_manager_directory> -showProgress
    Refer to the following example.
    /opt/InstallationManager/eclipse/tools/imcl uninstall \
    9.0.5.3-WS-WASProd-IFPH43148 -installationDirectory /opt/WAS \
    -dataLocation /var/ibm/InstallationManager -showProgress

What to do next

Verify that the fix is removed.