Thanks :) Here, I mean to get a full list of avilable packages in the reopository. So I use "search" subcommand to search it. First , I test the "search" command by searching only "tree" package.
The renamed 0.133 file/tree package can be listed by "search" subcommand as: (in osol134) --------------------------------------------------------------- $pfexec pkg search -s "http://pkg.opensolaris.org/dev/" -o pkg.fmri "*tree*:::" | more ... pkg:/[email protected],5.11-0.125:20091013T080812Z pkg:/file/[email protected],5.11-0.133:20100216T121208Z pkg:/[email protected],5.11-0.111:20090331T091243Z ... --------------------------------------------------------------- My question is, I think the 134 file/tree package is also match the search query "*tree:::" , but why it isn't listed ? Do I have some mis-understand of the sub-command "pkg search" , or there are some change *ONLY* in b134? As I can get package file/tree listed under newer version. So I am a little confused with the "pkg search" command ... :-) Thanks ! [eom] ========================================================== 2010/6/8 Alan Steinberg <[email protected]> > This is because the package was renamed at Build 133, so build 134 only > contains the package under the new name. You have the new name below: > file/tree > > You can get this info by running "pkg info": > > $ pkg info -r SUNWtree > Name: SUNWtree > Summary: > State: Not installed (Renamed) > Renamed to: file/[email protected] > consolidation/sfw/sfw-incorporation > Publisher: opensolaris.org > Version: 1.5.2.1 > Build Release: 5.11 > Branch: 0.133 > Packaging Date: February 16, 2010 10:08:06 AM > Size: 0.00 B > FMRI: > pkg://opensolaris.org/[email protected],5.11-0.133:20100216T100806Z > > > A full mapping of old and new names can be found here: > > > http://hub.opensolaris.org/bin/view/Project+indiana/Renamed+Packages+in+Build+133 > > ** > > ** > * > * > On 06/ 8/10 05:13 AM, Will Liu wrote: > > Hi, all > > I am a fresh one of opensolaris . > When I use " pkg search" subcommand to search the pkg repo, I found > I can't get b134-packages listed: > > $ uname -v > * snv_134* > > $ pfexec pkg contents -mr tree > *set name=pkg.fmri value=pkg:// > opensolaris.org/file/[email protected],5.11-0.134:20100302T023103Z > set name=variant.opensolaris.zone value=global value=nonglobal > set name=org.opensolaris.consolidation value=sfw* > .... > $*pfexec pkg search -s > "**http://pkg.opensolaris.org/dev/*<http://pkg.opensolaris.org/dev/> > *" -o pkg.fmri "*tree*:::" | more* > > *pkg:/[email protected],5.11-0.128:20091125T044555Z > pkg:/[email protected],5.11-0.117:20090623T144522Z > pkg:/[email protected],5.11-0.125:20091013T080812Z > pkg:/file/[email protected],5.11-0.133:20100216T121208Z > pkg:/[email protected],5.11-0.111:20090331T091243Z > pkg:/[email protected],5.11-0.118:20090707T225150Z* > *...* > > *I can't get packages with version 5.11-0.134 listed.Are there some > mistakes I make in "pkg search" command above ?* > > Thanks! > Best regards! > > > > _______________________________________________ > opensolaris-help mailing [email protected] > >
_______________________________________________ opensolaris-help mailing list [email protected]
