Operating System - HP-UX
1831278 Members
3940 Online
110022 Solutions
New Discussion

Adding SW To Patch Depots

 
SOLVED
Go to solution
Surey
Occasional Advisor

Adding SW To Patch Depots

Hello Everyone,

I need to append a small depot to a larger patch depot. What commands can I use to do that?

All replies will be graded. Thank you very much for all your help!

Warm Regards,
Suren Selva
Knowledge is power!
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: Adding SW To Patch Depots

Hi Suren:

You use 'swcopy':

# swcopy -v -s /tmp/HWEnable11i -x enforce_dependencies=false \* @ /var/tmp/swdepot

The use of -x enforce_dependencies=false' defers the requirement for all dependencies to be present until your actual 'swinstall'. That is, only set this attribute to false when creating depots; not during an actual 'swinstall' session.

The Patch Management User Guide is a very worthwhile read:

http://docs.hp.com/en/5992-0674/index.html

Regards!

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: Adding SW To Patch Depots

... and you can use SAM to interactively invoke swcopy to do this task as well.
If it ain't broke, I can fix that.
Hasan  Atasoy
Honored Contributor

Re: Adding SW To Patch Depots

hi surey ;

to copy more than one depot to a bundle is

for i in PH*.depot
do
swcopy -x enforce_dependencies=false -s ${PWD}/$i \* @ $PWD/patches
done


you can install this bundle by

swinstall -s $PWD/patches

Hasan.