Roll back packages in console mode
Overview
You can roll back a package in console mode. A package can be a product, a group of components, or a single component that is designed for console mode to update.
During the rollback process, IBM Installation Manager must access files from the earlier version of the package. By default, these files are stored on your computer when you install a package. If you change the default setting or delete the files using the Remove Saved Files option, Installation Manager requires access to your installation repository or media.
For the Remove Saved Files option, enter P: Preferences > 3: Files for Rollback. If you installed the product from a repository, you must have the repository used to install the previous version of the product listed in your preferences. To check the repositories that are listed, enter P: Preferences > 1: Repositories. If you installed the product from CDs or other media, the media must be available when you use the rollback feature.
Use the rollback feature to remove an update that you have applied to a product package. When you roll back a package, Installation Manager uninstalls the updated resources, and reinstalls the resources from the previous version. You can roll back only one version level at a time.
When you roll back to an earlier version of a package, the package is restored with the same features that are associated with that version. Use the Modify wizard to add and remove features.
A selected option is indicated by [X]. An option that is not selected is indicated by [ ]. At the command prompt, default commands are indicated by [ ]. You can click Enter to accept the default entry or enter a different command. For example, [N] indicates that the default command is N: Next.
Roll back a package in console mode
- Start Installation Manager in console mode using imcl.
- Enter 4: Roll Back - Revert to an earlier version of the installed software packages. Package groups that can be rolled back are listed.
- Enter 1: [ ] package_group. Enter the number to the left of the package group. This example selects the first package group listed.
- After selecting the package group to update, enter N: Next.
- A list of packages that can be rolled back are shown. This example assumes that you have one update for a package. The following options show:
- 1: [ ] package_name
- 2: [ ] Version package_version
- Enter 2:[ ] Version package_version to select the version to roll back.
- Enter N: Next.
- On the Summary screen, review your selections before installing the package.
- To generate a response file, enter G: Generate roll back response file. Enter the name of the response file and use .xml as the file extension. Response files are XML files. You can include a directory location when entering the response file name to save the file to a different location.
- Enter R: Roll Back.
- When the installation completes, enter F: Finish.