Gaëtan Lehmann wrote:

Le 4 août 09 à 20:16, Shawn Walker a écrit :

Vikash Tulsiyan wrote:
Hi,
If i want to know that a package, say SUNWxyz, is present in existing list of publishers or not, whats the correct command to do so.
pkg info -r SUNWxyz or pkg search -r SUNWxyz ??
Also how do i search for the same package in a particular publisher only?

Hi,

There's an RFE open for restricting search to a specific publisher:
http://defect.opensolaris.org/bz/show_bug.cgi?id=10338

With that said, if you want to see what publisher a search result came from, show the results as packages with -p:

$ pkg search -p 'SUNWipkg'
PACKAGE
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org)
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org)


[glehm...@marvin ~]$ pkg search -p 'SUNWipkg'
PACKAGE
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org)
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org)
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org-devel)
pkg:/sunwi...@0.5.11-0.75 (opensolaris.org-devel)

Probabely a stupid question, but why is it listed two times per publisher?

A configuration issue likely.

What does 'pkg publisher' say?

Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to