Non-interactive pkgadd not working.

Inorder to make the pkgadd non-interactive i tried couple of things but both failed.

               sudo pkgadd -n /u/mont/admin -d /u/mont/dbprd.pkg
  pkgadd: ERROR: no packages were found in </var/spool/pkg>
  
     
yes all | sudo pkgadd -a /u/mont/admin -d /u/mont/dbprd.pkg

The following packages are available:
.....
.....
Please specify a directory to install this package.
(default: /u/var):
The directory all does not exist. You must
create it before installing this package.
Installation aborting.
pkgadd: ERROR: request script did not complete successfully

Can you please help me a solution to make pkgadd non-interactive.