Operating System - HP-UX
1830296 Members
2608 Online
110000 Solutions
New Discussion

How do I create a patch bundle?

 
SOLVED
Go to solution
MAD_2
Super Advisor

How do I create a patch bundle?


I had to download a series of patches and need to load them this weekend, it's a total of 8 and I downloaded them as a gzip package.

How do I load all of these as a bundle? I did not see any specific instructions. I know how to unpackage from gzip, but then I will get all of the patches unpackaged individually.

Can I get some hints. Thanks!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
7 REPLIES 7
Martin Johnson
Honored Contributor

Re: How do I create a patch bundle?

Try the following:

sh PHXX_nnnnn #shar the patch

This will give you a .text and a .depot file. Use swcopy to put the depot file into a deport.

See "man swcopy" for more details.

HTH
Marty
A. Clay Stephenson
Acclaimed Contributor

Re: How do I create a patch bundle?

The easist method is to copy them all to a depot. You then can run swinstall and mark all of them. Install will then do them in one shot.

If you do a boolean search of the forums for
"depot" and "create" I think you will find many solutions. You can even use SAM to copy each patch to this depot.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor
Solution

Re: How do I create a patch bundle?

Hi Adam:

The new version of the ITRC Patch Database makes things easy!

Assuming the download file is in the /tmp directory (which is the recommended place):

# gunzip /tmp/patches.tar.gz

# tar -xvf /tmp/patches.tar

...you will see the patches you downloaded plus two files -- a 'README_hp-ux' and a 'create_depot_hp-ux' script. The README file constains your instructions.

The 'create_depot_hp-ux' script unpacks the
patches, and uses 'swcopy' to create the '/tmp/depot' which is the depot you specify for 'swinstall'.

Regards!

...JRF...
Kelli Ward
Trusted Contributor

Re: How do I create a patch bundle?

Another possible option for you.
If you have ignite loaded on your system, view the man page for make_bundle.
You might find that useful as well.
Have fun,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Kelli Ward
Trusted Contributor

Re: How do I create a patch bundle?

Oops,

the command is make_bundles (forgot the "s")

sorry 'bout that.

Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
MAD_2
Super Advisor

Re: How do I create a patch bundle?

James, you hit it right on the spot, now I only have to wait for a good time to do the installations, everything is in a bundle.

Thanks everyone for your prompt responses. Piyoush, I really appreciate all the links you provided, I just have to find time to read them later, for now I think I have what I was looking for.
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with