SUMMARY: packages and finding information

From: Dave Wreski (
Date: Tue Jan 06 1998 - 17:46:38 CST

Initial question:

How do I find what package a particular file belongs?

Thanks to Bruce Rossiter <> and for expeident replies.

I only wish the particular binaries I was interested in weren't so
integrated in with many other binaries in the same package..

Keywords: pkginfo pkgchk pkgrm sadm


Do a grep for the binary on the file /var/sadm/install/contents it will
give you the package it belongs, checksum size permissions and various
other useful info.

$ grep in.ftpd /var/sadm/install/contents
/usr/sbin/in.ftpd f none 0555 bin bin 45588 17517 814619440 *SUNWcsu
/usr/share/man/man1m/in.ftpd.1m f none 0444 bin bin 12703 20265 812338893


Dave Wreski <> on 01/06/98 01:48:14 PM

Please respond to Dave Wreski <>

To: sun-managers <>
cc: (bcc: Deepak D Wilson)
Subject: packages and finding information

Hi all. I'm interested in removing a few packages, but can't figure out
which package the specific binary belongs to.
How can I use pkginfo, or another program, to find which package a
particular binary belongs to? Specifically sendmail and in.ftpd?
Also, I would think this question would have been asked before, but I was
unable to find it searching the archives.. Obviously searching on
'pkginfo' is not a good choice...

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT