HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
i
install-sd(1M) install-sd(1M)
(HP-UX Software Distributor)
2)
Install the newer SD:
/usr/sbin/install-sd -s
source_depot_location
where source_depot_location is the absolute path to the depot or media containing the newer version
of SD.
RETURN VALUES
The install-sd command returns:
0 Successful completion
1 Error during execution
DIAGNOSTICS
Standard Output
An install-sd session writes messages for significant events. These include:
• Begin session and end session messages.
• Major task messages.
Standard Error
An install-sd session writes messages for all WARNING and ERROR conditions to stderr.
Logging
An install-sd session logs detailed events to the install-sd log file located at:
/var/adm/sw/install-sd.log
EXAMPLES
To load install-sd from a local CD-ROM mounted at /SD_CDROM into /var/tmp:
cp /SD_CDROM/catalog/SW-DIST/pfiles/install-sd /var/tmp
cp /SD_CDROM/catalog/SW-DIST/pfiles/swagent.Z /var/tmp
chmod +x /var/tmp/install-sd
/var/tmp/install-sd -s /SD_CDROM
To install a newer version of SD onto your system from the /var/spool/sw
depot on swtest (when
/usr/sbin/install-sd
is not yet on your system):
/usr/sbin/swinstall -r -s swtest:/var/spool/sw \
SW-DIST.SD-UPDATE > \@/var/adm/sw/install-sd.root 2>/dev/null
/usr/sbin/install-sd -s swtest:/var/spool/sw
AUTHOR
install-sd was developed by the Hewlett-Packard Company.
FILES
/usr/sbin/install-sd
Location of the install-sd command.
/var/adm/sw/install-sd.log
Location of the install-sd log file.
SEE ALSO
update-ux(1M), sd(4), sd(5)
Software Distributor Administration Guide, available at http://docs.hp.com
Section 1M−−376 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005