install_all_updates Command
Purpose
Updates installed software to the latest level on media and verifies the current recommended maintenance or technology level.
Syntax
install_all_updates -d Device [ -p ] [ -i ] [ -c ] [ -r ] [ -n ] [ -s ] [ -x ] [ -v ] [ -N ] [ -S ] [ -Y ] [ -V ] [ -D ]
Description
- the new filesets are installed as requisites of other filesets.
- the /var/adm/ras/bosinst.data filesets ALL_DEVICES_KERNELS to
yes
.
- 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.
- install_all_updates verifies the current recommended maintenance or technology level by using the "oslevel" utility and checking with the latest recommended maintenance or technology level known to this version of install_all_updates.
- 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.
- 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.
- install_all_updates will by default instruct installp to automatically install requisites and to do any necessary file system expansions. The "-n" will override the install requisite default, and "-x" will override the file system expansion default.
- The following flags apply to installp updates only: -c, -n, -x, -v, -S, and -V.
- Any library or executable program updated by an interim fix or service update which is in use by an active process will not be reflected in that process unless it is restarted. For example, an update that changes the ksh will not have the changes reflected in any ksh processes that are already running. Likewise, an update to the libc.a library will not be reflected in any process that is already running. In addition, any process that is using a library and does a dlopen operation of the same library after the library has been updated could experience inconsistencies if it is not restarted.
- If an attempt is made to update a fileset that is locked by the interim fix manager (the emgr command), a notice will be displayed indicating which filesets are locked. The lslpp command shows that any locked filesets are in the EFIXLOCKED state.
- If an attempt is made to update a file set that has an installed build date more recent than the build date of the selected fileset, a message will be displayed to indicate this.
Some installed software must ship new installation images instead of service updates in new technology levels or service packs of the AIX® operating system. For instance, a new installation image is required if the requisites of the installation image changes. When filesets are updated by using the smitty update_all or install_all_updates command, the most current version of the fileset is installed irrespective of whether filesets are updated by using the installation image or service update in the software source.
- Before a new installation image for the bos.ecc_client.rte file is shipped, the following
output is
displayed:
# lslpp -ah bos.ecc_client.rte Fileset Level Action Status Date Time --------------------------------------------------------------------------- Path: /usr/lib/objrepos bos.ecc_client.rte 6.1.9.0 COMMIT COMPLETE 04/26/17 16:49:31 6.1.9.0 APPLY COMPLETE 04/26/17 16:49:31 6.1.9.15 APPLY COMPLETE 04/26/17 21:02:55 6.1.9.45 APPLY COMPLETE 04/27/17 08:11:05 Path: /etc/objrepos bos.ecc_client.rte 6.1.9.0 COMMIT COMPLETE 04/26/17 16:49:42 6.1.9.0 APPLY COMPLETE 04/26/17 16:49:42 6.1.9.15 APPLY COMPLETE 04/26/17 21:03:07 6.1.9.45 APPLY COMPLETE 04/27/17 08:11:19
- After a new installation image for the bos.ecc_client.rte file is shipped and installed
on the system, the following output is
displayed:
# lslpp -ah bos.ecc_client.rte Fileset Level Action Status Date Time --------------------------------------------------------------------------- Path: /usr/lib/objreposbos.ecc_client.rte 6.1.9.100 COMMIT COMPLETE 04/27/17 09:19:12 6.1.9.100 APPLY COMPLETE 04/27/17 09:19:12 Path: /etc/objreposbos.ecc_client.rte 6.1.9.100 COMMIT COMPLETE 04/27/17 09:19:22 6.1.9.100 APPLY COMPLETE 04/27/17 09:19:22
Flags
Item | Description |
---|---|
-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 or technology 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
- To install all installp updates on device /dev/cd0 and
to verify the current recommended maintenance or technology level,
enter:
install_all_updates -d /dev/cd0
- To update any rpm images on your system, with newer technology levels from the /images
directory, enter:
install_all_updates -d /images -r
- To install the latest level of install utilities on device /dev/cd0
(bos.rte.install update), enter:
install_all_updates -d /dev/cd0 -i
Files
Item | Description |
---|---|
/usr/sbin/install_all_updates | Contains the install_all_updates command. |