HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 33 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
It might be necessary to kill the named process in order to switch off DNS.
vi the /etc/hosts and replace the localhost entry by the actual hostname:
127.0.0.1 hostname loopback
(Re-)start the swagentd:
# /usr/sbin/swagentd r
Then use swinstall with the use_alternate_source=true option:
# swinstall x use_alternate_source=true ...
Good luck! Don´t forget to reboot into single user mode and move the hosts.orig and
resolv.conf.orig files back.
Rebuilding the Master INDEX file
Did you ever had one of the following SD-UX messages?
Incomplete definition for the product …
The expected depot or root does not exist at "/".
There is currently no installed software on host…
Ignoring duplicate definition …
Ignoring unknown keyword …
It may come from the removal or corruption of the master INDEX file.
The following unsupported procedure should work for HP-UX 10.20, 11.0 and 11i:
# mv /var/adm/sw/products/INDEX /tmp/INDEX.bak
# echo fileset > /var/adm/sw/products/INDEX
# swmodify -a title
Unbelievable, isn’t it?
NOTE: If for some reason not only the master INDEX file got lost but the IPD got corrupted
anywhere, it might be necessary to restore /var/adm/sw/products from backup.