On 02/ 1/10 02:00 PM, Sriram Natarajan wrote:
Hi
I have a couple of pkg related questions. Can you kindly help me out
here. I am using build 131 and need couple of pointers on how to
effectively search using IPS pkg commands.

- How do I limit pkg search -r (remote search) to limit searching within
a given / specific build . By default, pkg search -r searches and
displays the result from all the builds (111 - 131) .

You can't currently; there's an RFE logged for this already.

- pkg search -r -o search.match *font* provides segmentation fault. Am I
doing some thing wrong or is this a known issue ? For that matter,
attribute based searching seems to always result in segmentation fault.
So, I am hoping this is a known issue.

Not a known issue; please file a defect at http://defect.opensolaris.org under development -> pkg -> search.

Regardless, that's probably not a search you want to do -- it will be extremely large; try being more specific.

Please attach the core file to the bug as well if one was produced.

- How do I search for a IPS package that delivers a given a file ?

"pkg search /path/to/filename" or "pkg search filename"

- How do I restrict the pkg search output to restrict the results only
to list out the pkg names and its repository location ?

To get pkg names only, use -p or enclose your query terms within '<>' as the man pages notes.

Will it be possible to improve on the current FAQ (especially in terms
of how to search as to which package delivers a given file , dependents
of a given package etc) . This should be useful for lot of newbies.

I believe there's a bug open at defect.opensolaris.org for documentation to provide more examples.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to