Operating System - HP-UX
1825766 Members
2137 Online
109687 Solutions
New Discussion

Re: How can I install 8 patches at a time?

 
SOLVED
Go to solution
Manel Ventura
Advisor

How can I install 8 patches at a time?

Hi all,

I have to install 8 patches. All of them need to reboot the system. I know how to install one by one but it's very slow. Are there other way to do it?

Thanks.
5 REPLIES 5
Peter Kloetgen
Esteemed Contributor

Re: How can I install 8 patches at a time?

Hi Manuel,

if you want to install patches which need a reboot, there is no possibility to install them, without installing them and do a reboot after each install. Sorry....

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
melvyn burnard
Honored Contributor

Re: How can I install 8 patches at a time?

you use swcopy to copy each patch to a depot, such as /var/spool/sw
then swinstall from the depot, selecting all.
This will take care of it for you.
man swcopy
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Vincent Farrugia
Honored Contributor
Solution

Re: How can I install 8 patches at a time?

Hello,

There is a way to do that, I had your same problem and I managed to do it with only 1 reboot. Follow this link:

http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0xaf457b8d1de3d5118ff40090279cd0f9,00.html

to see the answers of those who replied me when I asked this question.

HTH,
Vince
Tape Drives RULE!!!
Ian Dennison_1
Honored Contributor

Re: How can I install 8 patches at a time?


Use this command,...

for i in PHSS_0001 PHSS_0002 PHSS_0003
do
swcopy -s /tmp/$i.depot -x enforce_dependencies=false -x mount_all_filesystems=false \* @ /tmp/depot1
done

Substitute patch names, locations etc for the real ones you are using.

Share and Enjoy! Ian
Building a dumber user
Manel Ventura
Advisor

Re: How can I install 8 patches at a time?

Thanks a lot

Manel.