[OpenIndiana-discuss] Installing Virtual Box for the first time

Marcel Telka marcel at telka.sk
Fri Jan 4 21:04:41 UTC 2013


On Fri, Jan 04, 2013 at 07:42:26PM +0000, peter jones wrote:
> I am trying to install virtual box on a new installation 151a7 and have got
> myself into difficulties.
> 
> After several attempt to download the new version from VBox follow the
> instructions and wiki I have drawn a blank.I ran the following script as a
> last resort but still had no success.
> 
> Could you give me some pointers with this script?
> 
> 
> Openindiana at DT:~$ su
> Password:
> Openindiana at DT:~# wget
> http://download.virtualbox.org/virtualbox/3.0.12/VirtualBox-3.0.12-54655-SunOS.tar.gz
> --2013-01-04 19:19:04--
> http://download.virtualbox.org/virtualbox/3.0.12/VirtualBox-3.0.12-54655-SunOS.tar.gz
> Resolving download.virtualbox.org (download.virtualbox.org)... 137.254.16.69
> Connecting to download.virtualbox.org
> (download.virtualbox.org)|137.254.16.69|:80...
> connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://dlc.sun.com.edgesuite.net/virtualbox/3.0.12/VirtualBox-3.0.12-54655-SunOS.tar.gz[following]
> --2013-01-04 19:19:05--
> http://dlc.sun.com.edgesuite.net/virtualbox/3.0.12/VirtualBox-3.0.12-54655-SunOS.tar.gz
> Resolving dlc.sun.com.edgesuite.net (dlc.sun.com.edgesuite.net)...
> 62.24.131.64, 62.24.131.75
> Connecting to dlc.sun.com.edgesuite.net
> (dlc.sun.com.edgesuite.net)|62.24.131.64|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 79816804 (76M) [application/gzip]
> Saving to: `VirtualBox-3.0.12-54655-SunOS.tar.gz.3'
> 
> 100%[======================================>] 79,816,804   140K/s   in 9m
> 17s
> 
> 2013-01-04 19:28:22 (140 KB/s) - `VirtualBox-3.0.12-54655-SunOS.tar.gz.3'
> saved [79816804/79816804]

You downloaded VirtualBox-3.0.12-54655-SunOS.tar.gz.3, but you are unpacking
VirtualBox-3.0.12-54655-SunOS.tar.gz (please note ending .3).

> 
> Openindiana at DT:~# tar -xzf VirtualBox-3.0.12-54655-SunOS.tar.gz
> Openindiana at DT:~# pkgadd -d VirtualBoxKern-3.0.12-54655.pkg</pre>
> bash: syntax error near unexpected token `newline'

Additional </pre> above.

Are you sure the VirtualBox-3.0.12-54655.pkg file exists?

> Openindiana at DT:~# pkgadd -d VirtualBox-3.0.12-54655.pkg
> pkgadd: ERROR: attempt to process datastream failed
>     - open of <VirtualBox-3.0.12-54655.pkg> failed, errno=2
> pkgadd: ERROR: could not process datastream from
> <VirtualBox-3.0.12-54655.pkg>
> Openindiana at DT:~#

In any case, if you do not have specific reason to run VirtualBox 3.0.12 I'd
recommend to use the latest version:

cd /var/tmp
wget http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2.6-82870-SunOS.tar.gz
tar xf VirtualBox-4.2.6-82870-SunOS.tar.gz
pkgadd -d VirtualBox-4.2.6-SunOS-r82870.pkg


HTH.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel at jabber.sk |
+-------------------------------------------+



More information about the OpenIndiana-discuss mailing list