Thanks for the reply on this, Tim.

I was finally able to get around to doing this on one of my machines and the pkgrecv just stops part way through the start up:

root:~# http_proxy=http://tlc:8080 pkgrecv -s http://swie.us.oracle.com:10000 -d /export/home/temp -m all-timestamps '*'
Processing packages for publisher solaris ...
root:~#

Is there a better log to look at and see why this is failing? I've tried upping the values for PKG_CLIENT_CONNECT_TIMEOUT, PKG_CLIENT_MAX_TIMEOUT, and PKG_CLIENT_LOWSPEED_TIMEOUT with no change in behavior.

Thanks!

-BP


On 8/30/12 2:24 PM, Tim Foster wrote:
On 08/31/12 07:15 AM, Brian Phipps wrote:
Hi All,

We use a proxy cache hierarchy between our repo and the 4 main locations
where we perform installs. Beyond just performing AI installs to pull
the repo content through the cache's, can anyone think of a way to
"pre-seed" our cache machines with the repo content?

I've tried using pkgrecv in this fashion and it didn't work:

export http_proxy=http://swcache:8080; pkgrecv -s http://repo:10000 -d
/dev/null '*' solaris

This failed because there is no repo setup in /dev/null. Any thoughts on
how I might accomplish something similar to the above to get my bits
cached?

Create a repository in a scratch area, and pkgrecv into it then destroy the repository.

# pkgrepo create /scratch/foo
# http_proxy=foo pkgrecv -s http://repo:10000 -d /scratch/foo '*'
# rm -rf /scratch/foo

    cheers,
            tim

--



Signature <http://www.oracle.com>
Brian Phipps | Software Engineer
Oracle WorldWide Operations
3295 NW 211th Terrace | Hillsboro, OR 97124
Phone: +1 503 495-7716

NOTICE:  This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any unauthorized 
review, use,
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to