You've encountered bug 8865[1]. Which appears not to have made its way into the support repo's version of pkg5. The good news is that all the files got installed into the BE, so it should boot fine. The bad news is that you won't have a working local search index.

Hope that helps some,
Brock

[1] http://defect.opensolaris.org/bz/show_bug.cgi?id=8865

On 04/ 8/10 03:37 PM, UnixRob wrote:
Sorry to bother you guys. I'm having problems using the "support" repository
to do a pkg image-update from OpenSolaris 2008.11 snv_101b to OpenSolaris
2009.06 using a Toshiba Tecra M10 laptop that came with OpenSolaris
pre-installed. I also have ZFS compression turned on for my rpool. Do you
think that might be what's causing the problem?

Just to clear up any possible misconceptions: my OpenSolaris support
contract is still valid and I have no problems with installing other
packages from the "support" repository, and the error message I'm getting
also says that this is definitely a bug in the IPS software itself and not a
problem with the repository.

Here is the error message that I get at the end of the update:

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 '26c3e2407c53'.

I updated as the "root" user with the following $PATH:

/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin

And here is a list of all the commands I run to update my system with a
small amount of the output omitted to make it more readable:

# pkg authority
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online
https://pkg.sun.com/opensolaris/support/


# pkg install -v SUNWipkg
...
  some output omitted
...
Install Phase                                218/218
Update Phase                                 171/171
Reading Existing Index                           9/9
Indexing Packages                                4/4

# pkg list -av SUNWipkg
FMRI                                                             STATE
UFIX
pkg:/[email protected],5.11-0.111:20100301T222005Z                 known
----
pkg:/[email protected],5.11-0.101:20090512T150120Z                 installed
u---


then I did a dry test run of the update with the command listed below and
everything worked perfectly:

# pkg image-update -nv
...
  several pages of output omitted
...
None ->  pkg:/[email protected],5.11-0.111:20090508T161500Z
None ->  pkg:/developer/[email protected]
,5.11-0.111:20100306T002517Z
Actuators:
       restart_fmri: svc:/system/manifest-import:default
       restart_fmri: svc:/application/desktop-cache/gconf-cache:default
       restart_fmri: svc:/application/desktop-cache/gconf-cache:default
       restart_fmri:
svc:/application/desktop-cache/input-method-cache:default
       restart_fmri:
svc:/application/desktop-cache/pixbuf-loaders-installer:default
       restart_fmri: svc:/application/font/fc-cache:default
       restart_fmri: svc:/system/manifest-import:default
       restart_fmri: svc:/application/desktop-cache/icon-cache:default
       restart_fmri: svc:/application/desktop-cache/mime-types-cache:default
       restart_fmri: svc:/system/manifest-import:default
       restart_fmri: svc:/application/desktop-cache/gconf-cache:default
       restart_fmri: svc:/application/desktop-cache/icon-cache:default
       restart_fmri: svc:/application/desktop-cache/mime-types-cache:default
       restart_fmri: svc:/application/font/fc-cache:default
None
#

Then I did the update for real:

# pkg image-update -v
...

  several pages of output omitted

...
       restart_fmri: svc:/application/desktop-cache/gconf-cache:default
       restart_fmri: svc:/application/desktop-cache/icon-cache:default
       restart_fmri: svc:/application/desktop-cache/mime-types-cache:default
       restart_fmri: svc:/application/font/fc-cache:default

None
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                951/951 68229/68229 1515.92/1515.92


PHASE                                        ACTIONS
Removal Phase                            36388/36388
Install Phase                            44636/44636
Update Phase                             56840/56840
PHASE                                          ITEMS
Indexing Packages                            433/954

The running system has not been modified. Modifications were only made to a
clone of the running system.  This clone is mounted at /tmp/tmpUeDz-H should
you wish to inspect it.

pkg: An unexpected error happened during image-update: 'list' object has no
attribute 'split'
Traceback (most recent call last):
   File "/usr/bin/pkg", line 2598, in ?
     __ret = main_func()
   File "/usr/bin/pkg", line 2539, in main_func
     return image_update(mydir, pargs)
   File "/usr/bin/pkg", line 607, in image_update
     api_inst.execute_plan()
   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 525, in
execute_plan
     self.img.imageplan.execute()
   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line
813, in execute
     ind.rebuild_index_from_scratch(
   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 782, in
rebuild_index_from_scratch
     IDX_INPUT_TYPE_FMRI, tmp_index_dir)
   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 689, in
_generic_update_index
     dicts = self._process_fmris(inputs)
   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 306, in
_process_fmris
     self.excludes, log=self.__log)
   File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 429, in
search_dict
     inds = action.generate_indices()
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/attribute.py", line
69, in generate_indices
     return [
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/attribute.py", line
128, in parse_category_info
     scheme, cats = self.attrs["value"].split(":", 1)
AttributeError: 'list' object has no attribute 'split'


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 '26c3e2407c53'.

#

Any help that I can get from the community would be deeply appreciated.

Thanks in advance!
_______________________________________________
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