Installation on Solaris 10 fails due to missing pkg command

Discussions related to using VirtualBox on Solaris hosts.

Installation on Solaris 10 fails due to missing pkg command

Postby DaveHollenberg » 6. Dec 2011, 22:35

II tried to install VirtualBox 4.1.6 on a Solaris 10 Update 9 x86 host.
The install failed because the IPS "pkg" command was not found.

Here is partial output from the install attempt:

pkgadd -d VirtualBox-4.1.6-SunOS-r74727.pkg

[Some lines omitted]

## Executing checkinstall script.
Checking package dependencies...
## Missing or non-executable binaries: pkg ([.cshrc-root]
no pkg in /sbin /usr/sbin /usr/bin /usr/sadm/install/bin) and pkginfo ([.cshrc-root]
## Cannot check for dependencies.
## Please install one of the required packaging system.
pkgadd: ERROR: checkinstall script did not complete successfully

Installation of <SUNWvbox> failed.

Both the version downloaded from Oracle and the version from the Virtualbox web site
give the same installation error.

Can someone tell me where to get "pkg" for Solaris 10? I searched quite a
bit and couldn't find anywhere to obtain it, nor could I find anyone else
that had this problem. Must be something simple but I don't know what.
Posts: 1
Joined: 6. Dec 2011, 19:51
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Linux

Re: Installation on Solaris 10 fails due to missing pkg comm

Postby Ramshankar » 8. Dec 2011, 18:55

Are you using csh as you /bin/sh?

Try running it from a bash shell (/bin/bash) or from a bourne shell.
Oracle Corp.
Oracle Corporation
Posts: 780
Joined: 7. Jan 2008, 16:17

Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 1 guest