On 03/ 3/10 12:29 PM, Andre Lue wrote:
When I do a pkg list I see packages of the form "x11/library/libice". What package name
do I query to see the contents for example "x11/library/libice"?
ie pkg contents -r ???
If a package is installed, and delivers file content, then the following
is sufficient:
pkg contents <pkg_name> ...
...
x11/library/libxft 2.1.14-0.133 installed ----
Also "pkg contents package_name" is only returning PATH with or without -r, It
is no longer listing the package contents. I've tried this with version 2.3.1 and
2.4.b43? Can someone kindly help?
If a package doesn't deliver any content (files or directories), then
that's what you'll see. It is hoped that (in the near future) the
contents subcommand will be enhanced to make it clearer why you received
no output from a query:
http://defect.opensolaris.org/bz/show_bug.cgi?id=1797
If you execute "pkg contents" for a package, and it shows no listed
paths, then it has either been renamed (and therefore no longer delivers
any file content), or doesn't deliver content.
When you want to see everything that a package contains, use the -m option:
pkg contents -m <pkg_name> ...
If a package is not installed, you have to use the -r option to indicate
that it's ok to retrieve the latest information for a package from the
server instead of using the locally installed package.
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]