[ug-bosug] Package add procedure

S h i v shivakumar.gn at gmail.com
Sun Sep 23 18:51:33 PDT 2007


On 9/24/07, Sivasubramanian Muthusamy <shiva.madras at gmail.com> wrote:
> Hello
>
> Logged in as root user, I downloaded oss-solaris-v4.0-1006-i386.pkg
> into my root directory and to add the package I typed pkgadd
> oss-solaris-v4.0-1006-i386.pkg but there was an error message that
> said pkgadd: ERROR: no packages were found in </var/spool/pkg>
>
> I copied the file onto the var/spool/pkg directory and tried the
> pkgadd command both from inside the /var/spool/pkg directory as well
> as from the root directory, the same error message repeats.
>
> Please tell me how to do this ?
>

cd <path of pkg file>
pkgadd -d <pkg filename>

If the package is in the form of a directory instead of a pkg file, then,
pkgadd -d . <package dir>

-Shiv


More information about the ug-bosug mailing list