Technology Preview: -showUpdateFromVersion option the listAvailablePackages command

Product documentation


Abstract

You can use the -showUpdateFromVersion option to show the package version that can be updated by using the specified repository.

Content

For IBM Installation Manager and IBM Packaging Utility version 1.6, the -showUpdateFromVersion option is a technology preview.

Information about the -showUpdateFromVersion option

-showUpdateFromVersion

You can create a repository that contains only the files that are required to update to a later version by using the -updateFromVersion option. For information on this option, review techdoc 7023960: Technology Preview: -updateFromVersion option for Packaging Utility .

You use the -showUpdateFromVersion to verify that the repository contains the files required to update the package from a specific version.

For example, you have a repository that contains an update for Product A.  The update version is 1.0.3.2.  The update from version is 1.0.3.  Version 1.0.3 of Product A must be installed before you update the product to version 1.0.3.2 by using the specified repository.

If the repository is not created with the -updateFromVersion option, then the repository is a full repository and you see the value 0.0.0.

Use with the commands:

  • imcl listAvailablePackages
  • pucl listAvailablePackages

List the packages and the update from versions by using the -showUpdateFrom Version option

1. Install Installation Manager, Version 1.6

2. Open a command-line utility.

3. Open the tools directory:

Tools directory locations in the installed version of Installation Manager
Administrator Nonadministrator Group
Windows 2000 and Windows XP Professional C:\Program Files (x86)\IBM\Installation Manager\eclipse\tools C:\Documents and Settings\user\IBM\Installation Manager\eclipse\tools Not available
Windows Vista, Windows 2008, and Windows 7 C:\Program Files\IBM\Installation Manager\eclipse\tools C:\Users\user\IBM\Installation Manager\eclipse\tools Not available
Linux and UNIX /opt/IBM/InstallationManager/eclipse/tools / user_home_directory/IBM/InstallationManager/eclipse/tools / user_home_directory/IBM/InstallationManager_Group/eclipse/tools

4. Run the listAvailablePackages command:

imcl listAvailablePackages -repositories source_repository -showUpdateFromVersion


Commands examples by platform:

Windows: imcl.exe listAvailablePackages -repositories http://server/repository/package -showUpdateFromVersion

Linux, UNIX, IBM i, and z/OS: ./imcl listAvailablePackages -repositories http://server/repository/package -showUpdateFromVersion


Example:

The http://server/repository/package repository contains the offering:
com.ibm.example1.offering_1.0.3.20120508_1234. This offering is the update for version 1.0.1.20110112_1041

You run the command:
imcl listAvailablePackages -repositories http://server/repository/package -showUpdateFromVersion

You receive the result:
com.ibm.example1.offering_1.0.3.20120508_1234 : 1.0.1.20110112_1041

For information about the imcl and pucl commands and options, see the IBM Installation Manager Information Center.

Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Installation Manager
Documentation

Software version:

1.6, 1.6.1, 1.6.2

Operating system(s):

AIX, HP-UX, IBM i, Linux, Solaris, Windows, z/OS

Reference #:

7036002

Modified date:

2013-03-04

Translate my page

Machine Translation

Content navigation