Difference between revisions of "OpenIndiana"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Created page with "==Upgrading== If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set: # pfexec pkg publisher PUBLISHER ...")
 
Line 3: Line 3:
 
If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:
 
If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:
  
# pfexec pkg publisher
+
pfexec pkg publisher
 
PUBLISHER                            TYPE    STATUS  URI
 
PUBLISHER                            TYPE    STATUS  URI
 
openindiana.org          (preferred)  origin  online  http://pkg.openindiana.org/dev/
 
openindiana.org          (preferred)  origin  online  http://pkg.openindiana.org/dev/
Line 9: Line 9:
 
If your openindiana.org publisher is set to a different URI, for example http://pkg.openindiana.org/dev-il/ (our release candidate branch), you can correct this with:
 
If your openindiana.org publisher is set to a different URI, for example http://pkg.openindiana.org/dev-il/ (our release candidate branch), you can correct this with:
  
# pfexec pkg set-publisher -O http://pkg.openindiana.org/dev/ openindiana.org
+
pfexec pkg set-publisher -O http://pkg.openindiana.org/dev/ openindiana.org
  
 
opensolaris.org publisher
 
opensolaris.org publisher
 
If you currently have the opensolaris.org publisher set, we would highly recommend unsetting it by running:
 
If you currently have the opensolaris.org publisher set, we would highly recommend unsetting it by running:
  
# pfexec pkg unset-publisher opensolaris.org
+
pfexec pkg unset-publisher opensolaris.org
  
 
You can now identify what will be upgraded by issuing the command:
 
You can now identify what will be upgraded by issuing the command:
  
# pfexec pkg image-update -nv
+
pfexec pkg image-update -nv
  
 
The -n flag specifies to perform no action (i.e. perform a trial run), and the -v flag is the verbose option, to provide additional output.
 
The -n flag specifies to perform no action (i.e. perform a trial run), and the -v flag is the verbose option, to provide additional output.
Line 24: Line 24:
 
If you are satisfied with the actions to be taken, you can perform the upgrade by typing:
 
If you are satisfied with the actions to be taken, you can perform the upgrade by typing:
  
# pfexec pkg image-update -v
+
pfexec pkg image-update -v
  
 
You may want to consider also passing the "--be-name" flag to give the new boot environment created a more memorable name, such as oi_151a.
 
You may want to consider also passing the "--be-name" flag to give the new boot environment created a more memorable name, such as oi_151a.

Revision as of 14:14, 10 December 2011

Upgrading

If you are currently running OpenIndiana oi_147 or oi_148, first, verify you have the correct publishers set:

pfexec pkg publisher

PUBLISHER TYPE STATUS URI openindiana.org (preferred) origin online http://pkg.openindiana.org/dev/

If your openindiana.org publisher is set to a different URI, for example http://pkg.openindiana.org/dev-il/ (our release candidate branch), you can correct this with:

pfexec pkg set-publisher -O http://pkg.openindiana.org/dev/ openindiana.org

opensolaris.org publisher If you currently have the opensolaris.org publisher set, we would highly recommend unsetting it by running:

pfexec pkg unset-publisher opensolaris.org

You can now identify what will be upgraded by issuing the command:

pfexec pkg image-update -nv

The -n flag specifies to perform no action (i.e. perform a trial run), and the -v flag is the verbose option, to provide additional output.

If you are satisfied with the actions to be taken, you can perform the upgrade by typing:

pfexec pkg image-update -v

You may want to consider also passing the "--be-name" flag to give the new boot environment created a more memorable name, such as oi_151a.