Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
For example:
swtest:/var/spool/sw
Command Notes
The command returns a value of 0 to indicate successful completion and a value of 1 to indicate
an error.
An install-sd session writes messages for major tasks and the begin and end of each session.
All WARNING and ERROR conditions are written to stderr.
Detailed events are logged to /var/adm/sw/install-sd.log
Example
install-sd -s swtest:/var/spool/sw
Replacing an Unusable Version of SD-UX
If the version of SD-UX on the target system is unusable, you must first load install-sd and the
swagent.Z file onto your system into /var/tmp, then use install-sd to re-install SW-DIST. The
install-sd utility ships in the catalog/SW-DIST/pfiles directory.
Use cp (if you are copying from a local CD-ROM) or rcp (if you are copying from a software
depot on a remote system) to load install-sd onto your system.
For example, to load install-sd from a local CD-ROM mounted at /SD_CDROM into /var/tmp:
1. Copy install-sd onto your system from the CD-ROM:
# cp /SD_CDROM/catalog/SW-DIST/pfiles/ \
install-sd /var/tmp
2. Copy the swagent.Z file from the CD-ROM:
# cp /SD_CDROM/catalog/SW-DIST/pfiles/ \
swagent.Z /var/tmp
3. Make install-sd executable:
# chmod +x /var/tmp/install-sd
4. Execute install-sd:
# /var/tmp/install-sd -s /SD_CDROM
The SW-DIST product then installs itself onto your system from the CD-ROM.
Installing a Newer Version of SD-UX
If you want to install a newer version of SD-UX on your system and/usr/sbin/install-sd is
not yet on your system, use this procedure.
(In both steps, source_depot_location is the absolute path to the depot or media that contains
the newer version of SD-UX.)
1. As root, enter:
# /usr/sbin/swinstall -r -s \
source_depot_location\SW-DIST.SD-UPDATE \
@ /var/adm/sw/install-sd.root 2>/dev/null
2. Install the newer version:
# /usr/sbin/install-sd -s source_depot_location
NOTE: This install-sd command will not be available in future releases.
Replacing an Unusable Version of SD-UX 263