[OpenIndiana-discuss] Older vbox (5.0.28) failure - maybe something simple

Harry Putnam reader at newsguy.com
Fri Apr 14 17:38:28 UTC 2017


Will Brokenbourgh <will.brokenbourgh2877 at gmail.com> writes:

> On 04/14/17 08:23, Harry Putnam wrote:
>> Wanting to get vms running that I brought over when making the move to
>> hipster from 151_9... I found first that newer vbox versions are a
>> no-go for now.
>>

[...]

>>    Checking for older bits...
>>    ## Failed to parse the Solaris kernel major version.
>>    ## ERROR!! Failed to remove older/partially installed bits.
>>    pkgadd: ERROR: postinstall script did not complete successfully
>>
>> I wondered if this might be something fairly easy to fix, but don't
>> have much of a clue as to where to start.

[...]

> Hi Harry,
>
> I had the same problem.  I'm not in OI at the moment, but I think it's
> in /var/pkg or similar where there's a bunch of left-over stuff that
> doesn't get deleted properly and has to be deleted manually. Do a find
> for vbox in /var and that will probably put you in the right
> direction.  I have had similar issues with VirtualBox and I installed
> a special Hipster version that was given to me.  I cannot find the
> link now, but if necessary, I can post it somewhere for you.  It also
> required boost and boost/g++ from the SFE repo.

Very helpful thanks.  Removing those bits did allow to try some
more...

I tried a slightly newer version of 5.0.X (5.0.36) again but of course
hit the same problem (not the leftover bits) again... something to do
with the install not recognizing the kernel version:

  pkgadd -d ./VirtualBox-5.0.36-SunOS-amd64-r114008.pkg

  [...]

  /opt/VirtualBox/vboxwebsrv <linked pathname>
  /opt/VirtualBox/webtest <linked pathname>
  [ verifying class <manifest> ]
  ## Executing postinstall script.
  Checking for older bits...
  ## Failed to parse the Solaris kernel major version.
  ## ERROR!! Failed to remove older/partially installed bits.
  pkgadd: ERROR: postinstall script did not complete successfully

  Installation of <SUNWvbox> failed.

I also tried a version Geof N is working on:
http://opensxce.org/virtualbox5_qt4/testbins/

I managed to install it following Geof's clear instructions but once
installed I was not able to to do much with the command line
tools.. (No gui gets installed).  Not really sure if just my bungling
the cmdline or they just did not work.  But was not able to get
anywhere with it.  The VBoxManage tool was not able to list my vms.





More information about the openindiana-discuss mailing list