HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
u
update-ux(1M) update-ux(1M)
NAME
update-ux - updates the HP-UX operating system from new HP-UX media
SYNOPSIS
update-ux [-i][-p][
-v] -s source_location [
-?][-x option=value][-f software_file]
[sw_selections]...
DESCRIPTION
The
update-ux command updates the HP-UX operating system to a newer version.
Use update-ux when updating the operating system (OS), and installing or changing operating environ-
ments (OEs). update-ux works only with source depots containing the OS and OEs such as HP-UX 11i
OE DVDs. When using other non-OE media as the source (such as AR), use swinstall(1M) instead.
update-ux will always attempt to update the OS. In order to update a system successfully, an Operat-
ing Environment must exist in the source. A bundle name does not need to be specified on the command
line. By default, update-ux will install the software from the source that matches and updates the software
that is installed on the system. However, if a system does not contain a previous version of an OE, one
must be specified on the command line or in the interactive Terminal User Interface (TUI).
If the current OS is 11.11 or 11.22 , first install update-ux onto the existing system. For example:
swinstall -s source_location
Update-UX
where source_location is the path to a depot containing the 11i Update-UX product.
Options
update-ux supports these options:
-i Perform the OE update in the interactive terminal user interface (TUI). For
more information, see the swm(1M) manpage.
-p Previews an update task by running the session through the analysis phase only.
-v Turns on verbose output to stdout. (The swm logfile is not affected by this
option).
-s source_location Specify the source location. Possible locations are a local directory, a mounted
DVD containing an SD depot, or a remote machine and depot combination. If
source_location is a DVD,
update-ux expects to install from one DVD. If
source_location is a remote machine and depot combination, the remote machine
should be specified first, followed by the absolute path to the remote depot,
separated by a colon with no spaces; for example:
swperf:/var/spool/sw
.
-? Print the usage statement.
-x option=value Set swm(1M) options.
-f software_file Read the list of sw_selections from software_file instead of (or in addition to) the
command line.
sw_selections Software selections support the same syntax as the SD commands plus the syn-
tax outlined in Software Selections below (see swinstall(1M) for details on SD’s
supported syntax).
Software Selections
In addition to the SD syntax, the following syntax is supported for sw_selections:
bundle
[,version]
product[.subproduct][.fileset][,version]
!
selection
[bundle]/[%match]
pattern-matching-expression
Where version can be:
[,r <op> revision][,a <op> arch][,v <op> vendor]
[,c
<op> category][,q=qualifier][,l=location]
[,fr
<op> revision][,fa <op> arch]
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 573