> I saw the same timeout errors on several failed
> upgrade attempts.  I was 
> able to install it successfully on two systems by
> setting the client 
> timeout with an environment variable before invoking
> packagemanager:
> 
> # PKG_CLIENT_TIMEOUT=200 pfexec packagemanager
> 
> Ray.
> 
(some text deleted for brevity)

It seems that timeouts are a fairly common cause of failures in various sorts 
of updates. This suggests a couple of things to me:

   1. Perhaps the default should be higher.
   2. Perhaps it would be good to be able to set this as an option in 
packagemanager.

Of course, a given system might need different values for some repositories 
than others. So if you allow it to be configurable, you might want to associate 
the value with the repository. That way you could have longer timeouts on those 
repositories you'd expect poorer network connections.

Does this make sense?

- Rand Huntzinger
-- 
This message posted from opensolaris.org
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to