Updating packages by using console mode

You can update 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.

Before you begin

Before you can update a package, IBM® Installation Manager must have access to the repository that contains the package to update. Close the product before you start the update process.

About this task

The update steps cover a typical update scenario in console mode. During an update session, you might see console mode prompts that are not described. These console mode prompts are specific to the package that you update. If you require assistance with these custom update pages, see the documentation for that package.

To create a response file, step through the update process. Enter G: Generate an update response file option before you update the package.

A selected option is indicated by an X in brackets: [X]. Options that are not selected are indicated by empty brackets: [ ]. You can press Enter to select the default entry or select a different command. For example, [N] indicates that the default selection is N for the Next command.

During the update process, you can search for updates. Some packages require entitlement for updates. If you are not entitled for an update, the update is not included in the search results. Entitlement is based on your IBM ID credentials. For more information, see IBM ID credentials Help and FAQ. For more information about entitlement, see IBM Entitlement Help.

Procedure

To update a package in console mode, complete the following steps:

  1. Start Installation Manager in console mode by using imcl.
    For more information, see Starting console mode.
  2. Enter 2: Update - Find and install updates and fixes to the installed software packages.
    Package groups that can be updated are listed. If updates are not available, check your list of repositories: Setting repository preferences in console mode.

    If you have repositories that require credentials and you did not save the credentials, you are prompted to provide these credentials. For more information about saving credentials, see Saving credentials in console mode.

    Important: If you share an instance of Installation Manager with other users, see Saving credentials in a key ring file when you share an instance of Installation Manager before you save your password.
  3. If a package group is not selected, enter the number that is next to the package group.
    Information about the translations and architecture for the package group are shown. You can enter one of these options:
    • U: Update all. Choose to install all available updates.
    • A: Unselect all. Choose to clear all selected package groups.
    1. After you select the package group to update, enter N: Next.
  4. A list of packages that can be updated is shown. Enter the number that is next to the package that you want to update and then enter N: Next.
  5. A list of packages that can be updated are shown.
    This example assumes that you have one update for a package. These options show:
    • 1: [ ] package_name
    • 2: [ ] Version package_version
    • A: Show all. Shows all available updates.
    • R: Select Recommended. Select only the updates that are recommended.
    1. If the update is not selected, enter 2: [ ] Version package_version to select the update.
    2. Enter N: Next.
  6. For the Licenses screen, these options are available:
    • 1: product_name - License Agreement. To view a license agreement, enter the number that is next to the product name.
    • A: [ ] I accept the terms in the license agreement.
    • D: [ ] I do not accept the terms in the license agreement. If you decline the license agreement, the installation is stopped. To continue the installation, you must accept the license agreement.
    1. Enter A to accept the license agreement.
    2. Enter N: Next.
  7. Enter the number that is next to the feature to add or remove the feature from the list of features to install.
  8. After you select the features, enter N: Next.
  9. On the Summary screen, review your selections before you update the package.

    To generate a response file, enter G: Generate an update 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 you enter the response file name to save the file to a different location.

  10. Enter U: Update.
  11. When the installation completes, enter F: Finish.