Uninstalling fix packs
After installing a fix pack, you can revert to a previous fix pack or the GA level of the Db2® database product.
Before you begin
On Linux® and UNIX operating systems, you can go back to an earlier fix pack or the GA level.
On Windows operating systems, you cannot go back to a previous fix pack or the GA level unless you uninstall the current fix pack, then install the previous level.
Procedure
Follow these steps if the fix pack overwrote the original installation location:
- On Linux or UNIX
operating systems, to uninstall a fix pack, use the installFixPack command with
the force option (-f) to bypass the level check. The command must be run from
the lower level fix pack or GA image. For
example:
where./installFixPack -f level -b DB2DIR
- DB2DIR is the location of the Db2 database product that
you want to force to a lower level fix pack or GA image. For
example:
./installFixPack -f level -b /opt/ibm/db2/11.1
- DB2DIR is the location of the Db2 database product that
you want to force to a lower level fix pack or GA image. For
example:
- On Windows operating system, to uninstall a fix pack, use the Add/Remove Programs window, accessible through the Windows Control Panel. Refer to your operating system's help for more information about removing software products from your Windows operating system.
- Associate the instance with another Db2 copy that is at a lower level than the original Db2 copy where the instance was running. You can update all instances by issuing db2iupdt -f level from the new directory.
Follow this step if the fix pack installed to a separate directory:
- On Linux or UNIX
operating systems, to uninstall a fix pack, use the db2iupdt command with the
force option (-f) to bypass the level check. For
example:
Where DB2DIR is in the previous fix pack location.DB2DIR/instance/db2iupdt -f level instanceName
What to do next
Notes: Before
you uninstall the current fix pack, you remove or uninstall any functionality
that does not apply to the earlier fix pack or the GA level. After
you uninstall the fix pack, static packages must be rebound.