Operating System - HP-UX
1825795 Members
2789 Online
109687 Solutions
New Discussion

Re: Find the patch which installed a library

 
SOLVED
Go to solution
Chartier Jerome
Frequent Advisor

Find the patch which installed a library

Hi all,

Is there a command line which can be used to find the Package or Patch from which a library or a program file has been installed?
I've seen we can do a find with arguments in /var/adm/sw/products, but is there a better solution ?

Thanks in advance for your help

Regards

J??r??me
J@Y
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: Find the patch which installed a library

Hi J??r??me,

Try,

# swlist -l subproduct

Robert-Jan.
twang
Honored Contributor

Re: Find the patch which installed a library

Patch bundle:
# swlist -l bundle |grep -E 'QPK|XSWGR|HWE'

Patch package:
# swlist -l package

more detail:
# swlist -l fileset
T G Manikandan
Honored Contributor

Re: Find the patch which installed a library

#swlist -l file|grep -i


Massimo Bianchi
Honored Contributor
Solution

Re: Find the patch which installed a library

Hi,
you can check with

what full_patch_to_library

this should tell which ph installed it.

Or, try with


swlist -l fileset | grep your_lib

Massimo
Chartier Jerome
Frequent Advisor

Re: Find the patch which installed a library

Hi,

Thanks for your answer.
In fact, I would like a command (if exists) that give the Patch Depot from the file... Which can be used this way (let's call it command)
#command /usr/lib/libHBAAPI.sl
#"And I get the patch or depot number"

Thanks in advance

J??r??me
J@Y
T G Manikandan
Honored Contributor

Re: Find the patch which installed a library

Also,

#what
should give you that
Umapathy S
Honored Contributor

Re: Find the patch which installed a library

Chartier,

#swlist -l subproduct -l file
gives the details than you want. But the problem is there is way too much info to the file level.

HTH,
Umapathy



Arise Awake and Stop NOT till the goal is Reached!