[OpenIndiana-discuss] unable to install pkg

Anil replicase at gmail.com
Thu Sep 23 18:25:28 UTC 2010


I ended up just doing this, not sure why this would work and not OI
pkg (if /legacy was an almost exact copy of /dev from
opensolaris.org):

root at coke:/# pkg set-publisher -G http://pkg.openindiana.org/legacy/
-g http://pkg.opensolaris.org/dev/ opensolaris.org
root at coke:/# pkg install runtime/java
               Packages to install:    68
           Create boot environment:    No
               Services to restart:     4
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                68/68   3283/3283    52.8/52.8

PHASE                                        ACTIONS
Install Phase                              5920/5920

PHASE                                          ITEMS
Package State Update Phase                     68/68
Image State Update Phase                         2/2
Deleting content cache
root at coke:/#



On Thu, Sep 23, 2010 at 11:22 AM, Anil <replicase at gmail.com> wrote:
> Where would this partially downloaded file be? this is a fresh
> install, after zone was booted up, I ran pkg install.
>
> Should it be here?:
>
> root at coke:/# ls /var/pkg/download/*/4be6615d215d522baeeebf0cbee213bce5daa079
> /var/pkg/download/*/4be6615d215d522baeeebf0cbee213bce5daa079: No such
> file or directory
> root at coke:/#
>
>
>
> On Thu, Sep 23, 2010 at 10:45 AM, Jesus Cea <jcea at jcea.es> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 23/09/10 06:32, Anil wrote:
>>> # pkg install runtime/java
>>>                Packages to install:    68
>>>            Create boot environment:    No
>>>                Services to restart:     4
>>> DOWNLOAD                                  PKGS       FILES    XFER (MB)
>>> runtime/java                             42/68   1868/3283    23.2/52.8
>>>
>>>
>>> Errors were encountered while attempting to retrieve package or file data for
>>> the requested operation.
>>> Details follow:
>>>
>>> http protocol error: code: 206 reason: Partial Content
>>> URL: 'http://pkg.openindiana.org/legacy/file/1/4be6615d215d522baeeebf0cbee213bce5daa079'.
>>
>> This seems to be a bug in the downloader. You tried to download the
>> file, but the download failed, giving you a partial file. You tried
>> again and the downloader is trying to download from the point it was,
>> but it is not managing correctly the server reply. 206 means "here you
>> have the partial request you asked for". It is correct.
>>
>> The obvious solution, pending a patch, is to delete the partially
>> downloaded file and try again.
>>
>> - --
>> Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
>> jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
>> jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
>> .                              _/_/  _/_/    _/_/          _/_/  _/_/
>> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
>> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
>> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQCVAwUBTJuSKJlgi5GaxT1NAQIksQP+IW0KDrs8Sd7I1Rhud19H711K270ARnaX
>> oArn4Zl74hOY4aEhE7+CwzVd/YZgHvvgPeGASiTKidm7csnvdWU//GG3cjo+XXS8
>> uit7kzL7omuxFXrceh6GBKmJDNneZBNQFDpDpaQjAlBDMcNo7oaAcSrHnHNH/erU
>> y3hn1T8J868=
>> =IVXg
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>



More information about the OpenIndiana-discuss mailing list