Operating System - HP-UX
1837958 Members
3498 Online
110124 Solutions
New Discussion

Re: swinstall Patch PHKL_30511 Dependencies

 
SOLVED
Go to solution
Cliff Lim Kok Hwee
Regular Advisor

swinstall Patch PHKL_30511 Dependencies

Gd Afternoon Forum,

OS=HP-UX 11i
Model=s800

Currently I am trying to install patch PHKL_30511 using swinstall. The patch dependencies is only PHKL_30510 which is downloaded concurrently with PHKL_30511 from ITRC.

Both the PHKL_30510 and PHKL_30511 depots reside in the same directory.

Query: When swinstall, it keep reporting analysing failure because PHKL_30511 dependencies cannot be resolved.

Can anyone provide any prompt advice?

thanks/ cliff
8 REPLIES 8
Sridhar Bhaskarla
Honored Contributor

Re: swinstall Patch PHKL_30511 Dependencies

HI Cliff,

Having them in the same directory will not help. You have to put them in one depot. Do this..

cd /whereever_the_depot_files_are
#sh PH* (you might have already done this)
#mkdir /tmp/patchdepot
#for i in PH*.depot
>do
>swcopy -s $i\* @/tmp/patchdepot
>done
#swreg -l depot /tmp/patchdepot

This will create a depot at /tmp/patchdepot with these two patches. In your swinstall window, point your source depot as /tmp/patchdepot and it should let you install both the patches.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Cliff Lim Kok Hwee
Regular Advisor

Re: swinstall Patch PHKL_30511 Dependencies

Hi Sir,

Thanks for the prompt reply.

I will try it now and update u.

Thanks/cliff
Cliff Lim Kok Hwee
Regular Advisor

Re: swinstall Patch PHKL_30511 Dependencies

Hi Sri,

I performed as mentioned but again it mentioned the corequsite "PHKL_30510" for fileset "PHKL_30511" cannot be successfully resolved.

I also performed swcopy but i realized it always shows only 1 depot (PHKL_30511) even though I have 2 depot files PHKL_30510 and PHKL_30511 in the same directory.Same error reported.

Please advise me.

Thanks/cliff
Sridhar Bhaskarla
Honored Contributor

Re: swinstall Patch PHKL_30511 Dependencies

Cliff,

Try this again..Specify full path this time with swcopy.

#cd /wherever_the_depots_are

for i in *.depot
do
swcopy -s /wherever_the_depots_are/$i \* @/tmp/patchdepot
done

Now /tmp/patchdepot should contain both the patches.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Cliff Lim Kok Hwee
Regular Advisor

Re: swinstall Patch PHKL_30511 Dependencies

Hi Sri,

Performed as suggested.

The corequsites error still appear for each iteration of PHKL_30510.depot and PHKL_30511.depot.

regards/cliff
Sridhar Bhaskarla
Honored Contributor
Solution

Re: swinstall Patch PHKL_30511 Dependencies

OK Cliff...

OK. Let's try another way. Did you download each patch or as a tar bundle. If you downloaded it as a tar bundle, then you should have seen a file called create_depot_hp-ux_11. Run it and it will create the depot properly.

If you haven't downloaded it in tar format, then do it now... Copy it to say /tmp/patches directory

#cd /tmp/patches
#tar xvf hpux_800*.tar
#./create_depot_hp-ux_11

This should create a depot under /tmp/patches as 'depot'.

Now specify /tmp/patches/depot as the source, It should show a bundle with two patches under. If you select PHKL_30511, the other patch will be automatically selected.

-Sri

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Cliff Lim Kok Hwee
Regular Advisor

Re: swinstall Patch PHKL_30511 Dependencies

Sri,

I saw the bundle created and under the bundle is both PHKL_30510 and PHKL_30511.

I just select the bundle to install will do?

Thanks Sri!

I am a happy man....cliff
Sridhar Bhaskarla
Honored Contributor

Re: swinstall Patch PHKL_30511 Dependencies

Yep. Just make sure both the patches are selected...

-Sri

PS: 0 points pls.
You may be disappointed if you fail, but you are doomed if you don't try