Operating System - HP-UX
1833776 Members
2003 Online
110063 Solutions
New Discussion

HPUX patches installation

 
Purusa
Frequent Advisor

HPUX patches installation

If I install patch A which is having a patch dependency on patch B, do I need to install Patch A and Patch B independent of each other or will the installation of patch A result in patch B being installed on the machine.
A deep chasm can't be crossed in two steps
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: HPUX patches installation

You need to download and install both patches. I typically download them separately and then use swcopy to copy them into a depot, from which I can then install both at once.


Pete



Pete
Ian Dennison_1
Honored Contributor

Re: HPUX patches installation

By installing Patch A, the installer will insist that Patch B be present in either the bundle of patches you are installing, or already installed on the System. (You can switch this off but it is nopt advisable)

You must download Patch B as well, and bundle it together with Patch A for installing

for i in PHSS_1 PHSS_2
do
swcopy -s /tmp/$i -x enforce_dependencies=false \* @ /var/spool/newpatch
done

The above command will bundle together PHSS_1 and PHSS_2 into a depot named /var/spool/newpatch, which can be installed in 1 session. Use this to build a depot with all patches and their dependencies.

Share and Enjoy! Ian
Building a dumber user
James R. Ferguson
Acclaimed Contributor

Re: HPUX patches installation

Hi:

Unless "patch-B" is already installed on the server, patch-B must be included in the depot (source) during the installation of "patch-A" and selected for installation. That is, if "patch-A" depends on "patch-B" they may be installed together. Otherwise "patch-B" must already be installed.

Regards!

...JRF...
Sunil Sharma_1
Honored Contributor

Re: HPUX patches installation

Hi,

you have to download both patches independetly and copy both to depot and install in single shot.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***