Jacob Becker wrote:
> I'm setting up a new server that doesn't have internet access for the time 
> being.  What I was trying to do was use pkgrecv to download the package from 
> pkg.opensolaris.org.  It appears that step was successful.  However when I go 
> to transfer the file to the new server I can't install it.  Here's the 
> sequence of steps I'm using. 
> 
> (as root user)
> pkgrecv -s http://pkg.opensolaris.org pkg:/SUNWhea at 
> 0.5.11,5.11-0.98:20080916T185121Z
> 
> 
> which downloads a directory called SUNWhea I then scp this directory to the 
> other server and run the following:
> 
> pkgadd -d /tmp/ SUNWhea 
> pkgadd: ERROR: no packages were found in </tmp>
> 
> Am I missing a step in here?  Or is there a better way to do this, well other 
> than obviously allowing this server access to the internet.

pkgrecv is used for re-publishing packages to a server.

pkg(5) does not currently have an on-disk package format.

This means you cannot install packages directly from disk -- they must 
always be installed from a pkg.depotd server.

This will change at some point in the future, but has not yet been 
implemented.

-- 
Shawn Walker

Reply via email to