I tried removing the offending package SUNWjhrt (Java Runtime Help) from the 
current image to see what happens next. The only dependencies on SUNWjhrt where 
OSOLvpanels, OSOLvpanels-sysid & OSOLvpanels-sharemgr so it wasn't too 
difficult to remove them.

Trying again yields:

pfexec pkg image-update --be OpenSolarisB134
                                       
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1467/1467 15051/15051  396.3/396.3 

PHASE                                        ACTIONS
Removal Phase                              9449/9449 
Install Phase                            49410/50438Action install failed for 
'SUNWj6rt' (pkg://opensolaris.org/runtime/java):
  OSError: [Errno 17] File exists
 The running system has not been modified. Modifications were only made to a 
clone of the running system.  This clone is mounted at /tmp/tmp5eniOv should 
you wish to inspect it.
pkg: An unexpected error happened during image-update: [Errno 17] File exists
Traceback (most recent call last):
  File "/usr/bin/pkg", line 3448, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3425, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1111, in image_update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 750, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 651, in 
execute_plan
    self.__img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 1056, 
in execute
    p.execute_install(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 300, in 
execute_install
    dest.install(self, src)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/legacy.py", line 107, in 
install
    os.link(pkginfo, linkfile)
OSError: [Errno 17] File exists

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 '0de56d0c903a'.

So the error has simply moved on to another offending package. However since 
this is java, I'm not willing to keep removing more packages:

j...@superbird:~$ pfexec pkg uninstall SUNWj6rt
Creating Plan \pkg: Cannot remove 
'pkg://opensolaris.org/[email protected],5.11-0.132:20100130T091825Z' due to the 
following packages that depend on it:
  pkg://opensolaris.org/[email protected],5.11-0.132:20100130T105423Z
  pkg://opensolaris.org/[email protected],5.11-0.132:20100130T091639Z
  pkg://opensolaris.org/[email protected],5.11-0.132:20100130T064039Z
  pkg://opensolaris.org/[email protected],5.11-0.132:20100130T091715Z
  pkg://opensolaris.org/[email protected],5.11-0.132:20100130T091923Z

j...@superbird:~$ 

Any help greatly appreciated please

Cheers, JP
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to