United States-English |
|
|
HP-UX Reference > Uupdate-ux(1M)HP-UX 11i Version 3: February 2007 |
|
NAMEupdate-ux — updates the HP-UX operating system from new HP-UX media SYNOPSISupdate-ux [-i] [-p] [-v] -s source_location [-?] [-x option=value] [-f software_file] [sw_selections]... DESCRIPTIONThe 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 environments (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 Operating 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:
where source_location is the path to a depot containing the 11i Update-UX product. Optionsupdate-ux supports these options:
Software SelectionsIn addition to the SD syntax, the following syntax is supported for sw_selections:
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] Where op can be:
The = (equals) relational operator lets you specify selections with the shell wildcard and pattern-matching-expressions:
The syntax !selection causes that selection to be deselected even if it was listed on the command line as part of other selections. RETURN VALUEThe update-ux command returns a value when it is not successful:
DIAGNOSTICSEXAMPLESTo update from the OE depot on an HP-UX 11i OE DVD mounted at /dvd, enter:
To install all bundles and products in sw_server that match and update software that is installed on the system:
To select only software in HPUX11i-OE that matches the software on the target system:
To update to HPUX11i-OE and include the HP-UX Bastille Security Configuration bundle: /usr/sbin/update-ux -s /dvdrom HPUX11i-OE Sec30DMZ To interactively select software for an update, use the -i option: /usr/sbin/update-ux -s sw_server:/depot/OEs -i To update the operating environment (OE), explicitly to the MCOE: /usr/sbin/update-ux -s sw_server:/depot/oes HPUX11i-OE To update all the software that is part of the OE except Mozilla: /usr/sbin/update-ux -s /var/spool/sw !MOZILLA To select all of HPUX11i-OE except for Perl, which is part of HPUX11i-OE, you could specify the following:
FILES
SEE ALSOswm(1M), swinstall(1M). These manuals are available on the HP-UX 11i Instant Information CD and at http://docs.hp.com/:
|
Printable version | ||
|