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:/[email protected] (opensolaris.org)
pkg:/[email protected] (opensolaris.org)


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

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

Gaëtan

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to