HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

u
update-ux(1M) update-ux(1M)
-? Print the usage statement.
-n|-y By default, update-ux pauses when an error is detected to ask if it should
continue. Specify "no" (-n
)or"yes"(-y) to tell update-ux whether to con-
tinue when a error message is issued. Use
-n (or omit this option) at first to
have
update-ux abort when an error is encountered. Then review the error
logged in /var/adm/sw/swagent.log
. When you have reviewed/resolved
the errors, use
-y to have update-ux
ignore any remaining errors.
-i Start the swinstall interactive interface. For more information, see the
swinstall(1M) manpage.
-x option=value Set swinstall options.
swinstall -p (preview) is not supported. For
more information, see the swinstall(1M) manpage.
-f software_file Read the list of default installed bundles from software_file instead of the
/usr/lib/sw/update-ux.selections
file.
sw_spec Specify optional software selection such as an OE or network-driver bundle
name.
RETURN VALUES
The
update-ux command returns a value when it is not successful:
1 Error during execution; update aborted.
2 Update aborted per user request (-n option) or from keyboard.
DIAGNOSTICS
Standard Output:
An update-ux session writes messages for significant events, including:
Begin-session and end-session messages.
Major task messages.
Logging:
Errors are recorded in: /var/adm/sw/update-ux.log
and /var/adm/sw/swagent.log
.
EXAMPLES
To update from the OS depot on an HP-UX 11i OE DVD mounted at
/dvd
,enter:
/usr/sbin/update-ux -s /dvd HPUX11i-OE
That example updates the OS and installs the HP-UX 11i Operating Environment (OE).
To update the OS from /dvd, but not install an OE and ignore any error messages, enter:
/usr/sbin/update-ux -s /dvd -y
To update the OS and also update any software on the target system with new versions found in the source
depot at /dvd,enter:
/usr/sbin/update-ux -s /dvd -x match_target=true
AUTHOR
update-ux was developed by HP.
FILES
/usr/sbin/update-ux The update-ux command.
/var/adm/sw/swagent.log The swagent log file.
/var/adm/sw/update-ux.log
The update-ux log file.
SEE ALSO
sd(4), sd(5), swinstall(1M).
These manuals are available on the HP-UX 11i Instant Information CD and at http://docs.hp.com/:
HP-UX 11i Installation and Update Guide
Software Distributor Administration Guide
Managing Systems and Workgroups
Managing Superdome Complexes
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 565