Installation on Solaris 10 fails due to missing pkg command

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
DaveHollenberg
Posts: 1
Joined: 6. Dec 2011, 19:51
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Linux

Installation on Solaris 10 fails due to missing pkg command

Post by DaveHollenberg »

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]
/usr/bin/pkginfo).
## 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.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

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

Post by Ramshankar »

Are you using csh as you /bin/sh?

Try running it from a bash shell (/bin/bash) or from a bourne shell.
Oracle Corp.
Post Reply