[OpenIndiana-discuss] Cannot install or uninstall Vbox older version blocking the way

Harry Putnam reader at newsguy.com
Thu May 11 17:59:03 UTC 2017


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

[...]

>> So when I went to run thru installing the newest 5.1.22...I'm told
>> there is a VBox already installed... so `pkgrm SUNWvbox', but that fails
>> with what sounds like an unusual error (Failed to parse the Solaris
>> kernel major version):
>>
>>    pkgrm SUNWvbox
>>
>>    The following package is currently installed:
>>       SUNWvbox  Oracle VM VirtualBox
>>                 (i386) 5.0.36,REV=2017.03.15.20.44.114008
>>    Do you want to remove this package? [y,n,?,q] y
>>       ## Removing installed package instance <SUNWvbox>
>>    (A previous attempt may have been unsuccessful.)
>>       This package contains scripts which will be executed with
>> super-user
>>    permission during the process of removing this package.
>>       Do you want to continue with the removal of this package
>> [y,n,?,q] y
>>    ## Verifying package <SUNWvbox> dependencies in global zone
>>    ## Processing package information.
>>    ## Executing preremove script.
>>    Removing VirtualBox services and drivers...
>>
>>    ## Failed to parse the Solaris kernel major version.
>>    ## Failed.
>>    pkgrm: ERROR: preremove script did not complete successfully
>>       Removal of <SUNWvbox> failed.

[...]

> Hi again Harry,
>
> Make sure to do:
>
>   sudo find /var -name "*vbox*"
>
> ...and that will reveal the little bits that haven't been properly
> removed.  I had the same problems as you, and after removing those
> bits (and rebooting, I think), I was able to get the special OI
> contributed VirtualBox installed after failed attempts with 'stock'
> VirtualBox packages from virtualbox.org

[...]

Yup, there they is.





More information about the openindiana-discuss mailing list