[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3

install_all_updates Command

Purpose

Updates installed software to the latest level on media and verifies the current recommended maintenance level.

Syntax

install_all_updates -d Device [ -p ] [ -i ] [ -c ] [ -r ] [ -n ] [ -s ] [ -x ] [ -v ] [ -N ] [ -S ] [ -Y ] [ -V ] [ -D ]

Description

install_all_updates examines currently installed software and attempts to update it to the latest level that is available on the media. install_all_updates will not install any filesets that are present on the media, but not installed on the system, unless these filesets are installed as requisites of other selected filesets. For installp images, all installp requisites are enforced.

Notes:
  1. Currently, install_all_updates processes installp images and rpm images. Because the rpm utility does not support automatic installation of requisites, some rpm software may not be installable with install_all_updates.
  2. install_all_updates verifies the current recommended maintenance level by using the "oslevel" utility and checking with the latest recommended maintenance level known to this version of install_all_updates.
  3. If install_all_updates locates an update to the install utilities (the bos.rte.install fileset), it first installs the update and then reinvokes itself to process the remaining updates. The "-i" flag can be used to update the install utilities only, this is useful when attempting to view an accurate preview.
  4. install_all_updates applies all installp updates unless the COMMIT flag (-c) is specified. For more information of APPLY vs. COMMIT please see the installp man page.
  5. install_all_updates will by default instruct installp to automatically install requisites and to do any necessary filesystem expansions. The "-n" will override the install requisite default, and "-x" will override the filesystem expansion default.
  6. The following flags apply to installp updates only: -c, -n, -x, -v, -S, and -V.

Flags

-c Instructs installp to commit all newly installed updates. Updates are applied by default (Please see the installp man page for more explanation on applying vs. committing updates).
-d Device Specifies where the installation media can be found. This can be a hardware device such as tape or cdrom or it can be a directory that contains installation images. When installation media is a tape device it should be specified as no-rewind-on-close and no-retension-on-open.
-D Turns on install_all_updates debug output. This flag is for debugging the install_all_updates utility and should not be used for normal operations.
-i Update install utilities only.
-n Instructs installp to not automatically install requisites. Automatic installation of requisites is the default behavior.
-N Skip updating install utilities first.
Note
This flag is not recommended unless you are debugging a related problem.
-p Performs a preview of an action by running all preinstallation checks for the specified action. No software changes are made.
-r Update rpm images (if possible). This flag is not set by default.
-s Skip recommended maintenance level verification. The verification is performed by default.
-S Instructs installp to suppress multi-volume processing of cdrom media.
-v Instructs installp to verify that all installed files in the fileset have the correct checksum value after the installation. This operation may require more time to complete the installation.
-V Instructs installp to run in verbose output mode.
-x Instructs installp to not automatically expand file systems. Automatic expansion of file systems is the default.
-Y Agrees to all software license agreements which are required for software installation.

Exit Status

0
All lppmgr related operations completed successfully.
>0
An error occurred.

Security

Only the root user can execute install_all_updates.

Examples

  1. To install all installp updates on device /dev/cd0 and to verify the current recommended maintenance level, enter:
    install_all_updates -d /dev/cd0
  2. To commit install all installp updates and install any installable rpm updates in directory /images, enter:
    install_all_updates -d /images -rc
  3. To install the latest level of install utilities on device /dev/cd0 (bos.rte.install installp fileset), enter:
    install_all_updates -d /dev/cd0 -i

Files

/usr/sbin/install_all_updates Contains the install_all_updates command.

Related Information

The installpl command, lslpp command, rpm commnand

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]