Hi
  I tried to upgrade to build 95 from 86 and ran into the following error.


PHASE                                          ITEMS
Indexing Packages                            609/609
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                624/624 41638/41638 
2498.40/2498.40

PHASE                                        ACTIONS
Removal Phase                            15053/15053
Update Phase                             25755/25755
Install Phase                            29840/29840
Reading Existing Index                           8/8
Indexing Packages                              8/624pkg:
An unexpected error happened during image-update: 
'pkg:/[EMAIL PROTECTED],5.11-1:20080723T223421Z'
 opensolaris-1 failed to be updated. No changes have been made to 
opensolaris-1.
Traceback (most recent call last):
  File "/usr/bin/pkg", line 1734, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1696, in main_func
    return image_update(img, pargs)
  File "/usr/bin/pkg", line 527, in image_update
    img.imageplan.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", 
line 550, in execute
    self.ind.client_update_index((self.filters, plan_info))
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 676, in 
client_update_index
    tmp_index_dir)
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 637, in 
_generic_update_index
    start_point)
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 316, in 
_process_pkgplan_list
    self._data_full_fmri.remove_entity(
  File "/usr/lib/python2.4/vendor-packages/pkg/search_storage.py", line 
582, in remove_entity
    self._set.remove(entity)
KeyError: 'pkg:/[EMAIL PROTECTED],5.11-1:20080723T223421Z'
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 the output of 'pkg version'.


  This machine - where this error happened - contained packages from 
webstack (http://pkg.opensolaris.org/webstack) repository.

  I had to manually uninstall all the packages that were installed from 
´webstack´ repository before trying to upgrade again and this time the 
update worked fine.

 Thought, I should let the community know - not sure if this is a known 
bug or not.

 Well, that is another matter that any attempt to uninstall web stack 
repo specific package only ended up cleaning up the catalog but did not 
actually remove any files.

 for example, any attempt to remove ´drupal' package  like below
pfexec pkg -R /tmp/mnt uninstall drupal

didn´t actually remove anything but only cleaned up the catalog and 
cribbed with the following error .

Traceback (most recent call last):
  File "/usr/bin/pkg", line 1734, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1700, in main_func
    return uninstall(img, pargs)
  File "/usr/bin/pkg", line 761, in uninstall
    ip.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", 
line 550, in execute
    self.ind.client_update_index((self.filters, plan_info))
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 676, in 
client_update_index
    tmp_index_dir)
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 637, in 
_generic_update_index
    start_point)
  File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 316, in 
_process_pkgplan_list
    self._data_full_fmri.remove_entity(
  File "/usr/lib/python2.4/vendor-packages/pkg/search_storage.py", line 
582, in remove_entity
    self._set.remove(entity)


- Sriram
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to