The only way for Solaris which is what I assume you are asking about is
to scan the /var/sadm/system/admin/clustertoc file. This is good for
the package only and you can see which cluster it is included in or not.
You can only associate the files to the package on the installed
packages via the contents file.
si2:/var/sadm/install ->grep lucreate /var/sadm/install/contents
/usr/lib/lu/lucreate f none 0544 root bin 50036 59176 1258053399 SUNWluu
/usr/lib/lu/lucreatezone=../../../etc/lib/lu/ludo s none SUNWluu
/usr/sbin/lucreate=../../etc/lib/lu/ludo s none SUNWluu
/usr/share/man/ja/man1m/lucreate.1m f none 0444 root bin 41388 43987
1219703427 SUNWjeman
/usr/share/man/ja_JP.PCK/man1m/lucreate.1m f none 0444 root bin 41388
54069 1219703455 SUNWjeman
/usr/share/man/ja_JP.UTF-8/man1m/lucreate.1m f none 0444 root bin 53826
24456 1219703483 SUNWjeman
/usr/share/man/man1m/lucreate.1m f none 0644 root root 46374 59458
1248973086 SUNWman
alexandnpu wrote, On 04/08/10 22:33:
i know "pkginfo" will list all the installed packages
but how to list all the uninstalled packages when compared with packages in the
IPS
and how to determine which package a certain file belongs to ?
thanks
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org