I installed 2009.06 some weeks ago (fresh install) and then I installed 
VirtualBox 2.2.4

Today I upgraded to b117 by this commands

[i]$ pfexec pkg set-authority -O http://pkg.opensolaris.org/dev/ opensolaris.org
$ pfexec pkg image-update[/i]

Then I downloaded VirtualBox 3.0.0 but I have problems uninstalling 2.2.4 
(which must be done to install the newer version)

So, any hints on how to remove the old version?


[i]root at isis:~# pkgrm SUNWvboxkern[/i]

The following package is currently installed:
   SUNWvboxkern  Sun VirtualBox Kernel Interface Module
                 (i386) 2.2.4,REV=2009.05.29.19.20

Do you want to remove this package? [y,n,?,q] y
pkgrm: ERROR: unable to change current working directory to 
</var/sadm/pkg/SUNWvboxkern/install>

Removal of <SUNWvboxkern> failed (internal error).
No changes were made to the system.
[i]# ls -l /var/sadm/pkg/SUNWvboxkern[/i]
total 2
-rw-r--r-- 2 root root 281 2009-06-04 21:36 pkginfo
-rw-r--r-- 2 root root 281 2009-06-04 21:36 pkginfo.2

[i]# pkgadd -d 
/export/home/thommym/Downloads/VirtualBoxKern-3.0.0-SunOS-r49315.pkg [/i]

The following packages are available:
  1  SUNWvboxkern     Sun VirtualBox Kernel Interface Module
                      (i386) 3.0.0,REV=2009.06.30.13.46

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 

Processing package instance <SUNWvboxkern> from 
</export/home/thommym/Downloads/VirtualBoxKern-3.0.0-SunOS-r49315.pkg>

Sun VirtualBox Kernel Interface Module(i386) 3.0.0,REV=2009.06.30.13.46

Current administration requires that a unique instance of the
<SUNWvboxkern> package be created.  However, the maximum number of
instances of the package which may be supported at one time on the
same system has already been met.

No changes were made to the system.


[i]# pkginfo -l SUNWvboxkern[/i]
   PKGINST:  SUNWvboxkern
      NAME:  Sun VirtualBox Kernel Interface Module
  CATEGORY:  system
      ARCH:  i386
   VERSION:  2.2.4,REV=2009.05.29.19.20
    VENDOR:  Sun Microsystems, Inc.
      DESC:  Sun VirtualBox kernel interface module (vbi) for SunOS 32-bit and 
64-bit
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
-- 
This message posted from opensolaris.org

Reply via email to