On Wed, 25 Jun 2008, Anders Magnusson wrote:

> Hi,
>
> I'm trying to install VirtualBox (the OpenSolaris version) on Nexenta,
> but I got stuck pretty early. When I try to install the package with
> the kernel driver, I get this error message:
>
> [EMAIL PROTECTED]:~/tmp# /usr/sun/sbin/pkgadd -G -d
> VirtualBoxKern-1.6.2-SunOS-r31466.pkg
>
> The following packages are available:
>   1  SUNWvboxkern     Sun xVM VirtualBox Kernel Interface Module
>                       (i386) 1.6.2,REV=2008.05.31.04.35
>
> Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]: 1
> ## Waiting for up to <300> seconds for package administration commands
> to become available (another user is administering packages)
> pkgadd: ERROR: Unable to acquire package administration lock for this
> system; try again later
> pkgadd: ERROR: Unable to lock this zone for administration
>
> 1 package was not processed!
>
>
> I am logged in as root, so I guess I should have permission to run
> pkgadd... Has anyone on this list managed to install VirtualBox on top
> of Nexenta?
>

pkgadd on nexenta is a wrapper around alien, and it doesn't work well for 
most packages I've encountered.  The quick steps to creating a .deb 
package for this are:

# alien -cvg VirtualBoxKern-1.6.2-SunOS-r31466.pkg
# cp -r sunwvboxkern-1.0/var/lib/dpkg/alien/sunwvboxkern/reloc/* 
sunwvboxkern-1.0
# vi sunwvboxkern-1.0/debian/rules

replace #!/usr/local/bin/gmake  with #!/bin/make

# cd sunwvboxkern-1.0 && debuild
# cd .. && dpkg -i sunwvboxkern_1.0-1_solaris-i386.deb

Repeat for the other .pkg file.  This is only going to work if you're 
installing the 32bit version on a 32bit kernel.  The 64bit version relies 
on some key 64bit libraries that Nexenta is not including in its 
repository at the moment.

-phillip
_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users

Reply via email to