HP UX 10.20
I have a directory
"/var/spool/sw"
which is supposed to be a "Depot" directory. Turns out it is not and when using the swreg command
"swreg -l /var/spool/sw"
I get errors in part
ERROR for option "-l /var/spool/sw" keyword or it's value may be incorrect or the keyword does not apply to this command.
and
ERROR Command Line parsing failed
The directory is empty not sure if that makes any difference. Any help is greatly appreciated.
According to
man swreg
on HP-UX 11
it must be
swreg -l depot /var/spool/sw
I used the command as provided and received the following:
*session started
*begging session
*Targets (computer name)
*Objects /var/spool/sw
ERROR There is currently no depot software on host (computer name) at location "var/spool/sw"
ERROR More information may be found in the daemon logfile
..
The file state in part:
failed to register soc on /var/spool/sw for root@prog
(prog is the name I gave the software)
Thank you in advance for any additional suggestions
V/R
I don't know swreg
.
On HP-UX 11 I have installed software from a temporary location, directly from the command line without GUI or terminal-UI.
For example
swinstall -s /var/tmp/scsiU320-00_B.11.23.0712_HP-UX_B.11.23_IA_PA.depot -x autoreboot=true
(The optional -x autoreboot=true immediately reboots after install!)
1 Like