Sort of a follow up to my missing stdio.h but asks a deeper question.
Using the info on
http://opensolaris.org/os/project/milax/documentation/IPS/
I have set my preferred pkg authority to blastwave and doing a

pfexec pkg list -a
shows 1715 packages all starting with IPS

However what I really want is SUNWhea which I can see from my OS box 
whose preferred authority is:

paulj at gbm6:~$ pfexec pkg authority
AUTHORITY                           URL
opensolaris.org                     http://pkg.opensolaris.org:80/
dev (preferred)                     http://pkg.opensolaris.org/dev/

Question how do I change my preferred authority using the pkg command 
please?

I tried using
pfexec pkg set-authority -P opensolaris.org
where opensolaris.org is an authority with url of 
http://pkg.opensolaris.org:80/
pfexec pkg authority then states this and not blastwave is preferred but 
it still only lists packages starting with IPS.

Found this http://defect.opensolaris.org/bz/show_bug.cgi?id=2253 which 
seems relevant but I am on snv_105

Below shows what I mean, changing the authority has no effect

paulj at gbm6:~$ pfexec pkg authority
AUTHORITY                           URL
blastwave (preferred)               http://blastwave.network.com:10000/
opensolaris.org                         http://pkg.opensolaris.org:80/
dev                                             
http://pkg.opensolaris.org/dev/

paulj at gbm6:~$ pkg list | head -4
NAME (AUTHORITY)                              VERSION         STATE      
UFIX
BRCMbnx (dev)                                         0.5.11-0.105    
installed  ----
FSWxorg-fonts (dev)                                 0.5.11-0.105    
installed  ----
FSWxorg-fonts-core (dev)                         0.5.11-0.105    
installed  ----

paulj at gbm6:~$ pfexec pkg set-authority -P dev

paulj at gbm6:~$ pfexec pkg authority
AUTHORITY                           URL
blastwave                                  
http://blastwave.network.com:10000/
opensolaris.org                         http://pkg.opensolaris.org:80/
dev (preferred)                          http://pkg.opensolaris.org/dev/

paulj at gbm6:~$ pkg list | head -4
NAME (AUTHORITY)                              VERSION         STATE      
UFIX
BRCMbnx                                           0.5.11-0.105    
installed  ----
FSWxorg-fonts                                   0.5.11-0.105    
installed  ----
FSWxorg-fonts-core  

Any ideas ?

Cheers Paul





Reply via email to