[indiana-discuss] pkg install fails with "timed out"

Seema Alevoor Seema.Alevoor at Sun.COM
Tue Jun 3 05:22:39 PDT 2008


Hi,

I have installed OpenSolaris 2008.05. I'm trying to get SUNWapch22 package using
'pfexec pkg install SUNWapch22' but every time it fails midway (it is very erratic - sometimes fails after getting 180 files,
sometimes after 300 files) with the following msg.
I tried installing a smaller package (SUNWnetcat) and it goes through fine.

-------------------
$ pfexec pkg install SUNWapch22
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWapch22                                   0/1      80/876    1.47/12.29pkg: An unexpected error happened during installation: timed out
The Boot Environment opensolaris failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmpF-FIhv.
Use 'beadm activate opensolaris_static:-:2008-06-03-11:39:05 and reboot if you wish to boot to this BE.

Traceback (most recent call last):
   File "/usr/bin/pkg", line 1440, in ?
     ret = main_func()
   File "/usr/bin/pkg", line 1406, in main_func
     return install(img, pargs)
   File "/usr/bin/pkg", line 469, in install
     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 147, in get_files
     for info in tar_stream:
   File "/usr/lib/python2.4/tarfile.py", line 1856, in next
     tarinfo = self.tarfile.next()
   File "/usr/lib/python2.4/tarfile.py", line 1590, in next
     buf = self.fileobj.read(BLOCKSIZE)
   File "/usr/lib/python2.4/tarfile.py", line 437, in read
     buf = self._read(size)
   File "/usr/lib/python2.4/tarfile.py", line 445, in _read
     return self.__read(size)
   File "/usr/lib/python2.4/tarfile.py", line 467, in __read
     buf = self.fileobj.read(self.bufsize)
   File "/usr/lib/python2.4/socket.py", line 295, in read
     data = self._sock.recv(recv_size)
   File "/usr/lib/python2.4/httplib.py", line 480, in read
     s = self.fp.read(amt)
   File "/usr/lib/python2.4/socket.py", line 295, in read
     data = self._sock.recv(recv_size)
timeout: timed out
-------------------

How do I resolve this issue ?


Thanks,
Seema.



More information about the indiana-discuss mailing list