Shawn Walker wrote:
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:/[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?
A configuration issue likely.
What does 'pkg publisher' say?
Sorry, I just realised what you meant. Two results of each are shown
for build 75 with different timestamps. You can't see this because
search doesn't show the full FMRI (which includes the timestamp).
By the way, you really shouldn't have opensolaris.org and
opensolaris.org-devel. You should only have opensolaris.org and change
the origin (with pfexec pkg set-publisher -O ...) to the /dev repository.
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]