Good day, I'm trying to run a pkg image-update on my opensolaris installation 
and I'm getting a url timeout error. I've increased the timeout as per the 
suggestion in one of the threads regarding this problem but I seem to be 
getting the time-out still. Just wondering if anybody can provide more 
direction for me. Thanks.

Below is the result where I'm getting a 'Connection timed out' error.

-bash-3.2# PKG_CLIENT_TIMEOUT=200000 pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWgnome-meeting                        189/554 21059/33614 664.62/1667.50pkg: 
An unexpected error happened during image-update: <urlopen error (145, 
'Connection timed out')>
 opensolaris-4 failed to be updated. No changes have been made to opensolaris-4.
Traceback (most recent call last):
  File "/usr/bin/pkg", line 1440, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1404, in main_func
    return image_update(img, pargs)
  File "/usr/bin/pkg", line 391, in image_update
    img.imageplan.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 394, 
in execute
    p.preexecute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 242, in 
preexecute
    flist.get_files()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/filelist.py", line 139, 
in get_files
    imgtype = self.image.type)
  File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 107, in 
versioned_urlopen
    c = url_opener(req)
  File "/usr/lib/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
  File "/usr/lib/python2.4/urllib2.py", line 376, in _open
    '_open', req)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 1021, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.4/urllib2.py", line 996, in do_open
    raise URLError(err)
URLError: <urlopen error (145, 'Connection timed out')>
-- 
This message posted from opensolaris.org

Reply via email to