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

Seema Alevoor Seema.Alevoor at Sun.COM
Wed Jun 4 22:44:00 PDT 2008



Moinak Ghosh wrote:
> On Wed, Jun 4, 2008 at 8:55 PM, Shawn Walker <swalker at opensolaris.org> wrote:
>> 2008/6/4 Moinak Ghosh <moinakg at gmail.com>:
>>> On Wed, Jun 4, 2008 at 8:24 PM, Shawn Walker <swalker at opensolaris.org> wrote:
>>>> 2008/6/4 Aubrey Li <aubrey at blastwave.org>:
>>>>> On Tue, Jun 3, 2008 at 8:22 PM, Seema Alevoor <Seema.Alevoor at sun.com> wrote:
>>>>>> 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.
>>> [...]>>> -------------------
>>>>>> How do I resolve this issue ?
>>>>>>
>>>>> I believe this is a very good question. Actually I encountered this
>>>>> issue many times.
>>>>> The only way to resolve it is try it again and again till install completed.
>>>>>
>>>>> IPS package should offer another way to download, just like SVR4 package, we can
>>>>> download by http/ftp/etc..., and install it from localhost.
>>>>>
>>>>> Or pkg install should support downloading from the point last time failed
>>>>> Any thoughts?
>>>>>

Are there any mirrors of pkg.opensolaris.org in any other geo ?


Thanks,
Seema.

>>>> Support for download resume is coming soon.
>>>>
>>>> Support for an "on-disk" format is slated for the future though it is
>>>> not yet known what form it will take.
>>>   In addition having to reboot just because of a failed package download
>>>   is bad IMHO. Reminds me of Win95. Download should happen to a
>>>   staging area which then is transferred to the live filesystem en-masse
>>>   and actions processed. Reboot should only be needed to recover from
>>>   rare weird install problems unrelated to downloading the bits.
>> I have never had to reboot due to a failed package download.
>>
>> From what I understand, downloads happen first, and installation
>> doesn't actually happen until it is complete.
>>
>> As such, the boot environment message you get when a download fails is
>> probably misleading.
>>
>> This is something else that is being worked on (there is a bug on
>> defect.opensolaris.org about it).
> 
>    Ah good. That is better.
> 
> Regards,
> Moinak.
> 
>> Cheers,
>> --
>> Shawn Walker
>>



More information about the indiana-discuss mailing list