Sean Sprague wrote:
>> I have a problem with pkg image-update:
>> - It times out after a few hundred megs of download
>
> Also try again after grabbing the latest version of IPS in SUNWipkg.
>
> Regards... Sean.
>
Thanks Sean and Euan.
I just tried with both your suggestions, on a clean new
opensolaris install. This time it's not a timeout, but
a bad status line, presumably from the server:
DOWNLOAD PKGS FILES XFER (MB)
SUNWcompiz-fusion-extra 359/533 19690/23325
1175.13/1453.56
pkg: An unexpected error happened during image-update:
The running system has not been modified. Modifications were only made
to a clone of the running system. This clone is mounted at
/tmp/tmpgn9yuO should you wish to inspect it.
Traceback (most recent call last):
File "/usr/bin/pkg", line 1468, in ?
ret = main_func()
File "/usr/bin/pkg", line 1432, in main_func
return image_update(img, pargs)
File "/usr/bin/pkg", line 390, in image_update
img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 406, in execute
p.preexecute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line
258, in preexecute
flist.add_action(dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/filelist.py",
line 112, in add_action
self._do_get_files()
File "/usr/lib/python2.4/vendor-packages/pkg/client/filelist.py",
line 192, in _do_get_files
fe = self._get_files()
File "/usr/lib/python2.4/vendor-packages/pkg/client/filelist.py",
line 292, in _get_files
imgtype = sel"/usr/lib/python2.4/urllib2.py", line 994, in do_open
r = h.getresponse()
File "/usr/lib/python2.4/httplib.py", line 866, in getresponse
response.begin()
File "/usr/lib/python2.4/httplib.py", line 336, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.4/httplib.py", line 300, in _read_status
raise BadStatusLine(line)
BadStatusLine
Looks like I may never be able to update this wretched thing, and I
must be way over my bandwidth for the month with trying (several
instances of this, plus other big Solaris stuff).
--
Nick Kew