Hi Joao,

check if opensolaris.org is set as a preferred repository

pkg authority -P

if not, change preferred repository to opensolaris.org:

pfexec pkg set-authority -P -O http://pkg.opensolaris.org:80 opensolaris.org
pfexec pkg refresh
pfexec install SUNWipkg

if this didn't help, try to temporally remove lifeiwthsolaris.jp repository:

pfexec pkg unset-authority  http://pkg.lifewithsolaris.jp:10000

check if authority was removed:

pkg authority

if yes, hit:

pfexec pkg refresh
pfexec install SUNWipkg


Hope this helps.

Regards,


Jan Hlodan



On Wed, Nov 5, 2008 at 4:44 AM, Joao Lavrador <[EMAIL PROTECTED]> wrote:
> [b]Cannot update SUNWipkg:[/b]
>
> pkg install SUNWipkg
> pkg: install failed (inventory exception): Not found in inventory: 
> pkg:/[EMAIL PROTECTED],5.11-0.86:20080813T075312Z
>
> uname -a
> SunOS Almada 5.11 snv_99 i86pc i386 i86pc Solaris
>
> [b]Also cannot update my version to the 100:[/b]
>
> pkg image-update
> Checking that SUNWipkg (in '/') is up to date...
> Traceback (most recent call last):
>  File "/usr/bin/pkg", line 2284, in ?
>    __ret = main_func()
>  File "/usr/bin/pkg", line 2233, in main_func
>    return image_update(img, pargs)
>  File "/usr/bin/pkg", line 577, in image_update
>    if not ipkg_is_up_to_date(img):
>  File "/usr/bin/pkg", line 493, in ipkg_is_up_to_date
>    filters=[], noexecute=True)
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 2100, in 
> make_install_plan
>    self.load_optional_dependencies()
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1656, in 
> load_optional_dependencies
>    self.update_optional_dependency(min_fmri)
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1625, in 
> update_optional_dependency
>    matcher = pkg.fmri.exact_name_match).next()[0]
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1896, in 
> inventory
>    for f in self.__inventory(*args, **kwargs):
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1861, in 
> __inventory
>    raise InventoryException(notfound=nonmatchingpats)
> InventoryException: Not found in inventory: pkg:/[EMAIL 
> PROTECTED],5.11-0.86:20080813T075312Z
>
>
> pkg: This is an internal error.  Please let the developers know about this
> problem by filing a bug at http://defect.opensolaris.org and including the
> above traceback and this message.  The version of pkg(5) is 'be1ad23e7704+'.
>
>
> Am I doing something wrong?
>
> Best regards,
>
> João
> --
> This message posted from opensolaris.org
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to