Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help for creating an HP-UX OS patch depot file

kumar_choudhury
Occasional Advisor

Need Help for creating an HP-UX OS patch depot file

Can any one help me out in creating an HP-UX OS patch depot file. On our development server, we have three separate patch depot files for March 2004 QPK depot, March 2004 Hardware patch depot and another depot for eight Oracle patches and its dependency. Our production SA (Todd Reece) wants all these three depots to be combined into a single depot file for him to install on production. So, we need to create a single depot file using these three depot. We tried to create this depot file using "swcopy" command but were getting errors related to permission issues. I think this command has to be executed by root and not by users (through sudo access). Our development SA (Paul Otters) had mentioned that we could create this depot file. Can you please provide me some instructions/recommendations to create a single depot file.
"Edited to comply with ITRC Guidelines"
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: Need Help for creating an HP-UX OS patch depot file

Shalom,

Sure.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=226909

I have two scripts posted into this thread as attachments that will create new depot files from existing depot files.

Just put all the depots in the same directory.

These are root scripts.

I recommend you remove your email address from this thread by posting to the issues thread in ITRC general. All the big spam harvesters try and grab email addresses here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
twang
Honored Contributor

Re: Need Help for creating an HP-UX OS patch depot file

Simply use swcopy,
#swcopy -s $i -x enforce_dependencies=false \* @ /tmp/patches
Wang,MinJie
Super Advisor

Re: Need Help for creating an HP-UX OS patch depot file

Hey I assume that you have three *.depot files
So as I know you can first:
swcopy -s No1.depot \* @ /patch
swcopy -s No2.depot \* @ /patch
swcopy -s No3.depot \* @ /patch
then you get the depot with all three depots in it
then you can use
swpackage -s /AllThree.depot @ /patch
then you get the AllThree.depot file
Yogeeraj_1
Honored Contributor

Re: Need Help for creating an HP-UX OS patch depot file

hi,

I would prefer to create a depot structure where you could just copy all your software and patches. This will be more manageable and also you can use it to install on other machines over the network.

for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /var/spool/sw
done

The above will copy all of the depot into /var/spool/sw

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)