1832451 Members
3184 Online
110042 Solutions
New Discussion

installing patches

 
Naeem Khokhar
Occasional Contributor

installing patches

I am running HPUS ver. 11.0
Basic fresh install from the CD. No patches installed yet.
When I tried to install a patch PHKL_28216 I get the following error message:
# sh PHKL_28216
# ls
# PHKL_28216.depot is present

#swinstall /var/spool/sw/PHKL_28216.depot

======= 04/09/03 13:19:55 MDT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@HPUX-L".

* Beginning Selection
* Target connection succeeded for "HPUX-L:/".
ERROR: There is currently no depot software on host "HPUX-L" at
location "/var/spool/sw".
* Source connection failed for "HPUX-L:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is HPUX-L:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 04/09/03 13:19:56 MDT END swinstall SESSION (non-interactive)

Please help!
Thanks
Naeem
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: installing patches

How did the patch get into /var/spool/sw? Since /var/spool/sw is the default source, it expects it to have swcopied into there. Or just move it to /tmp and install from there, or move it to /tmp and swcopy it back to /var/spool/sw.


Pete

Pete
John Dvorchak
Honored Contributor

Re: installing patches

You didn't specify the entire path to the depot. It should be:

swinstall -s /path/to/depot/PHKL_28216.depot \*

Good luck
If it has wheels or a skirt, you can't afford it.
Jeff Schussele
Honored Contributor

Re: installing patches

Hi Naeem,

From command line:

swinstall -s /var/spool/sw PHKL_28216

Or from gui:

export DISPLAY=xxx.xxx.xxx.xxx:0.0
swinstall &
Then point the source to /var/spool/sw/PHKL_28216.depot

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
James R. Ferguson
Acclaimed Contributor

Re: installing patches

Hi Naeem:

Try"

# swinstall -s /var/spool/sw/PHKL_28216.depot

...assuming the you unshared the patch in '/var/spool/sw'. Geherally, one uses '/tmp' as the receiving directory for the unshare, and generally, the patch would be installed from there.

Regards!

...JRF...