Child pages
  • Upgrading from OpenSolaris
Skip to end of metadata
Go to start of metadata

To upgrade from OpenSolaris, you must be running build snv_134 (this includes snv_134, snv_134a and snv_134b). If you are on a previous release, you will need to upgrade to snv_134 prior to upgrading to OpenIndiana.

Upgrading from OpenSolaris 2009.06 (snv_111) to snv_134

If you are currently running OpenSolaris 2009.06 (snv_111) you can use the following commands to upgrade to build 134 (snv_134):

Please read the OpenSolaris release notes before proceeding!
This uses the OpenIndiana snapshot of the OpenSolaris snv_134 dev repository.

pfexec pkg install SUNWipkg SUNWipkg-um SUNWipkg-gui
pfexec pkg set-publisher -O
pfexec pkg image-update -v

Once this process completes, you should reboot into the newly created snv_134 boot environment (BE) and proceed with the instructions below to upgrade to OpenIndiana.

Upgrading from OpenSolaris snv_134 to OpenIndiana

You can upgrade an existing (x86) OpenSolaris system to OpenIndiana.

From the command line:

pfexec pkg set-publisher --non-sticky
pfexec pkg set-publisher -P -O
pfexec pkg image-update -v --be-name openindiana

This will add OpenIndiana as a new boot environment (BE) called "openindiana". You will still be able to use your previous OpenSolaris system until you remove the OpenSolaris BE or upgrade your ZFS pool to a newer version.

Once you have booted into the new boot environment, we would recommend you remove the publisher by performing:

pfexec pkg unset-publisher

If your OpenSolaris b134 console was using a keyboard layout other than "qwerty" please be aware that upon booting into OpenIndiana for the first time, your keyboard layout may be reset to "qwerty".

  • No labels


  1. Anonymous

    Has anybody had any luck upgrading from Opensolaris snv_134b? I get the following errors...

    No matching version of package/pkg can be installed:
    pkg://,5.11-0.147:20100914T035208Z: This version is excluded by installed incorporation pkg://,5.11-

    pkg://,5.11-0.147:20110720T213831Z: This version is excluded by installed incorporation pkg://,5.11-

    pkg://,5.11-0.148:20101122T085607Z: This version is excluded by installed incorporation pkg://,5.11-

    pkg://,5.11-0.148:20110720T213932Z: This version is excluded by installed incorporation pkg://,5.11-

    pkg://,5.11-0.151.1:20110912T031338Z: This version is excluded by installed incorporation pkg://,5.11-

    1. Anonymous

      Check out Bug #1424:
      and see if you're still stuck.

      Try and set the publisher to /dev-il:
      pfexec pkg set-publisher -P -O

      Always create a new boot environment to backup (using beadm or "pkg image-update -v --be-name newBeName").

      If you manage to get it working, please post your solution there.


      1. Anonymous

        Basically, my guess is both of us are using OpenSolaris 134b to upgrade (instead of just 134). i'm also stuck at that last error ("this version is excluded by installed incorporation...").

        1. Anonymous

          If you're using b134b is there any chance you still have a b134 (no b) or older BE lying around. If so, you might try reverting to that (using beadm activate) and then trying the upgrade from there. You can do that without damaging your b134b BE and if it works great! If not, you've not lost anything but time.

    2. Anonymous

      I tried this past weekend. It was (as my kids would say) an "epic fail." When the system came back up, none of the network interfaces were plumbed, and I bailed out after struggling with it for a while.

      I may try again some day, but for now, build 134 seems good.

      1. Anonymous

        i just had the same. the fix is relatively easy, once you know what the problem is...

        assuming you're back in svn_134 and have the non-working openindiana be "oi_151" on your system, use the following to get its network interface working:

        mkdir /tmp/mount
        pfexec zfs set mountpoint=legacy rpool/ROOT/oi_151
        pfexec mount -F zfs rpool/ROOT/oi_151 /tmp/mount
        pfexec sed -i -e 's@sp::sysinit:/sbin/soconfig -f /etc/sock2path@sp::sysinit:/sbin/soconfig -d /etc/sock2path.d@' /tmp/mount/etc/inittab
        pfexec umount /tmp/mount
        pfexec zfs set mountpoint=/ rpool/ROOT/oi_151

        (if your BE is called differently, change the path names accordingly)

        the whole thing seems like a bug to me - this only happened on 1 out of 4 of my servers, which are all identically

    3. Anonymous

      It worked for me when I added the "-f" option to "pkg image-update"; e.g.:

      $ pfexec pkg image-update -f -v --be-name openindiana

    4. Anonymous

      Setting the publisher to "dev-il" didn't work, neither did using the "-f" option to "pkg image_update". What finally worked was upgrading from an old opensolaris-134 BE (NOT 134b) that I had. That upgrade went smoothly and the system has been running great for several weeks now.

      Thanks to everyone for your helpful suggestions! I'm looking forward to a long future with openindiana and illumos.

  2. Anonymous

    "Grub loading stage2 ...."
    is the last thing I see after upgrading from OpenSolaris. The system seems to be dead now.

  3. Anonymous

    I have made an attempt to upgrade from OpenSolaris as described here.

    I also had to add option "-f" to the "pkg image-update" to overcome numerous errors:
    "This version is excluded by installed incorporation"

    openindiana BE booted OK, although it was missing BE selector on the beginning as it used to be with opensolaris BE.

    My server has two NIC, both are manually configured, one DHCP and another one for static IP.
    NWAN service is disabled.
    After upgrading none of the NICs were up after system boot.
    All attempts to start them manually failed with errors "socket address family not supported by protocol family"
    This error is also reported in the boot logs.
    What would you recommend to resolve this issue?

  4. Anonymous

    my original system was a vanilla opensolaris svn_111b. upgrading to svn_134 worked without problems, but then upgrading to openindiana failed.

    turns out i needed to remove the following packages before upgrading to openindiana:

    pfexec pkg uninstall entire
    pfexec pkg uninstall gnome/theme/background/opensolaris-backgrounds
    pfexec pkg uninstall gnome/theme/background/opensolaris-backgrounds-extra
    pfexec pkg uninstall release/opensolaris-welcome

    after that, image-update would run without problems

    1. Anonymous

      This worked extremely well for me. I successfully upgraded to snv_134 from snv_133 via the instructions provided, and that worked fine.

      root@arda:~# uname -a
      SunOS arda 5.11 snv_134 i86pc i386 i86xpv Solaris

      But when trying to upgrade to openindiana the image update failed

      root@arda:~# pkg image-update -f -v --be-name openindiana
      Solver: [ Variables: 2743 Clauses: 29709 Iterations: 1 State: Succeeded]
      Timings: [phase 1:  1.929, phase 2:  0.058, phase 3: 17.578, phase 4:  6.597, phase 5:  0.015]
      Maintained incorporations: None
      Package version changes:
      No updates available for this image.

      I looked at trying to find what packages might be causing the issue via the instructions given here: but I was unable to puzzle out what the FAIL and OBSOLETE packages were in reference too. Then I notices the parent posting and tried it, and the update is currently installing.

  5. Anonymous

    Nice work thank you.

    Migration to OpenIndiana from 134b didn't work (as expected from previous comments).

    So, rebooted to 111b BE, then followed upgrade to 134 using instructions here. Then upgraded 134 to OpenIndiana.


    My upgrade from OpenSolaris got botched, and after reboot into the new BE it was still snv_134.

    However, giving the "pkg uninstall" commands listed in an earlier post here made it possible to recover with a second pkg image-update

    These uninstall commands should be added to the upgrade procedure at the top, because the failure mode when you don't give them is very confusing...