On Mon 17 Nov 2008 at 09:15AM, Michael Schmarck wrote:
> Hi.
>
> I'm using OpenSolaris 2008.11 rc1b on x86. I tried downloading
> a large package (like sunstudioexpress), but this always fails:
>
> --($ ~/Desktop)-- sudo pkg install sunstudioexpress
> DOWNLOAD PKGS FILES XFER (MB)
> sunstudioexpress 0/10 307/8840 8.17/241.60
>
>
> pkg: Maximum (4) network retries exceeded during download. Details follow:
> 1: Transfer from 'http://pkg.opensolaris.org/release' timed out: timed out.
> 2: Transfer from 'http://pkg.opensolaris.org/release' timed out: timed out.
> 3: Transfer from 'http://pkg.opensolaris.org/release' timed out: timed out.
> 4: Transfer from 'http://pkg.opensolaris.org/release' timed out: timed out.
>
> I suppose it times out, because of our network - I think we're
> using a transparent virus scanning proxy, which first downloads
> everything and then sends on the stuff to the final client. Because
> of that, downloading large stuff first doesn't (seem to) do anything
> at all. Then, after a while, the downloaded content is send with
> "LAN speed" to the client (my PC in this case).
>
> And I think that this setup is causing problems for pkg - it
> notices that "nothing" happens (as far as the client is concerned)
> for too long and because of this, it errors out.
Yes. You can set the environment variable PKG_CLIENT_TIMEOUT to a
value in seconds. The default is 30.
We're hoping to transition to an http-pipelined file-by-file based setup
in the future. Today we're streaming groups of files by wrapping them
in a tar archive stream.
-dp
--
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss