Operating System - HP-UX
1831043 Members
3387 Online
110019 Solutions
New Discussion

Installing patches without rebooting.

 
SOLVED
Go to solution
someone_4
Honored Contributor

Installing patches without rebooting.

I have severl patches to install but most of them require a re-boot.
Is there a way to install all of them and reboot once. they are all .depot files and I am using swinstall.
thanks
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: Installing patches without rebooting.

If it were me I'd put them into a single depot and then once it's installed it will reboot just the once : Do a search on this forum on for say "create depot swinstall"

or "swdepot" as I'm sure we had a post on how to create a depot a week or so ago.

Or look at the autoreboot flag and set in to false ? and only set it to true for the last patch, may do the job ?
Victor BERRIDGE
Honored Contributor
Solution

Re: Installing patches without rebooting.

Have a look at this previous thread on the subject:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6ad2f841489fd4118fef0090279cd0f9,00.html

Best regards
Victor
James R. Ferguson
Acclaimed Contributor

Re: Installing patches without rebooting.

Hi Richard:

Do this for each of your patches:

swcopy -s /tmp/PHxx_NNNN.depot PHxx_NNNN @ /tmp/patch_depot

Then run your swinstall. When done, you can unregister the depot and remove the directory and patches:

swreg -u -l depot /tmp/depot

...JRF...
Rick Garland
Honored Contributor

Re: Installing patches without rebooting.

Place the patches into a depot using swcopy. This will register the depot as well if it is not already registered. Once completed, you can invoke swinstall, mark the patches for install, match what target has, and if good go to the install. Installing multiple patches from a depot will allow you to reboot once and resolve the dependencies between the patches as well.