Operating System - HP-UX
1831351 Members
3210 Online
110024 Solutions
New Discussion

How to determine ALL dependencies for a given patch

 
John Hall
Frequent Advisor

How to determine ALL dependencies for a given patch

I want to write a batch job (shell script?) on an HP-9000/S800 rp3440 server running HP-UX 11.11 that will obtain a list of ALL dependent patches for a given patch (say PHKL_12345). The GUI at HP ITRC site does this very well but I need to write a batch job. All I need to do is get a list of the dependent patches and their dependent patches that are resolved all the way to the very end. I know the tarball contains a "*.depot" and "*.text" file, and in the "*.text" file it shows the dependent patches for that patch but does not show if those dependent patches have dependent patches themselves. Once I get this list of dependent patches I can parse it (using cut and awk) and build a batch shell script that goes to ftp.itrc.hp.com and gets all the patches.

Thanks!
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: How to determine ALL dependencies for a given patch

Shalom,

do a swinstall with the -p parameter on the actual patch. This will produce a list of missing dependencis as the preview fails.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Calandrello
Trusted Contributor

Re: How to determine ALL dependencies for a given patch

Friend
when you to make download of patch in the site: www.itrc.hp.com it ja shows patchs that sâo dependents.