I'm trying to add a package in SUN Solaris 10, using the following command:
pkgadd -d SomePackage.pkg
This throws the following error:
/usr/sadm/install/bin/pkginstall: illegal option -- o
usage:
pkginstall [-o] [-n] [-d device] [-m mountpt [-f fstype]] [-v]
Could anyone suggest a reason for this error?
Here is the output of "pkginfo -d CheckMK.pkg -l"
PKGINST: CheckMK
NAME: Check_MK Solaris Monitoring Agent
CATEGORY: application
ARCH: SPARC
VERSION: 1.2.4p5
BASEDIR: /opt/
VENDOR: SomeVendor
PSTAMP: **********
STATUS: spooled
FILES: 18 spooled pathnames
5 directories
3 executables
5 package information files
1193 blocks used (approx)
pkginfo -l SUNWpkgcmdsu
PKGINST: SUNWpkgcmdsu
NAME: SVr4 packaging commands (usr)
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2005.01.09.21.19
BASEDIR: /
VENDOR: Oracle Corporation
DESC: Solaris 2.x System V Release IV Packaging Commands (usr)
PSTAMP: on10-adms-patch-x20110330171234
INSTDATE: Jul 16 2014 09:03
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 40 installed pathnames
8 shared pathnames
2 linked files
8 directories
27 executables
6267 blocks used (approx)
pkginfo -d SomePackage.pkg -l
might help, too