1838428 Members
3076 Online
110126 Solutions
New Discussion

HPUX: Software Depot

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX: Software Depot

I have large number patches that I need to apply to my N-Class server. Can anyone define for me how to build a single depot from a large number of patches? Thank You
3 REPLIES 3
Sanjay_6
Honored Contributor
Solution

Re: HPUX: Software Depot

James R. Ferguson
Acclaimed Contributor

Re: HPUX: Software Depot

Hi Larry:

To collect a series of patches into a depot the can be installed with a single reboot, simply download your patches into the /tmp directory; "un-shar" them and do:

# cd /tmp
# for X in PH*.htm
> do
> sh ${X}
> done

# PDIR=/tmp/patch_depot
# mkdir ${PDIR}
# for X in PH*.depot
> do
> swcopy -s ${PWD}/${X} \* @ ${PDIR}
> done

# swlist -s ${PDIR}

There is no need to register the depot with 'swreg'. This is done automatically by 'swcopy'. The 'swlist' allows you to preview the depot's contents.

As desired, you can add the option '-x enforce_dependencies=false' to the 'swcopy' command. Doing so, allows you to create a depot without meeting all patch dependencies. This is useful when you know that the 'swinstall' that follows will use option '-x enforce_dependencies=true' to insure that they are in fact satisfied. In this manner, it is possible to download a smaller number of patches and still be able to create the depot.

Regards!

...JRF...
Luc Bussieres
Frequent Advisor

Re: HPUX: Software Depot

The following link wil answer your question:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=30040d0e1653289d2c/screen=ckiDisplayDocument?docId=200000050018438

Luc
La réponse est le malheur de la question