1.10.08

solaris packaging tools.

Package check tool "pkgchk"

I have come across a problem, that is, how to know that a particular "file" or "binary" or "daemon" belongs which package?

Let say we want know the binary "sendmail" belongs to which package?

The command is:
#pkgchk -l -p /usr/lib/sendmail

Pathname: /usr/lib/sendmail
Type: regular file
Expected mode: 2555
Expected owner: root
Expected group: smmsp
Expected file size (bytes): 1020544
Expected sum(1) of contents: 42649
Expected last modification: Aug 16 10:45:47 PM 2007
Referenced by the following packages:
SUNWsndmu
Current status: installed