On 14/09/2010 01:12, Shawn Walker wrote:

What's the output of 'pkg publisher' and 'pkg variant'?

The variant was incorrectly set to i386 - that explains that error, but with that fixed I see this, which I believe is related to the locale errors in the first failed attempt.

# pkg image-update --be-name snv_147
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              529/529 12705/12705  397.2/397.2

PHASE                                        ACTIONS
Removal Phase                               626/4144
Warning - directory /tmp/tmpkAaAz5/var/sadm/pkg/SUNWlang-sh not empty or not expected during operation - contents preserved in /tmp/tmpkAaAz5/var/pkg/lost+found/var/sadm/pkg/SUNWlang-sh-20100914T022257Z
Removal Phase                              4144/4144
Install Phase 11504/11593Action install failed for 'SUNWlang-et' (pkg://opensolaris.org/system/locale/et):
  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/tmpkAaAz5 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 3872, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3849, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1207, in image_update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 850, in __api_execute_plan
    api_inst.execute_plan()
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 722, in execute_plan
    self.__img.imageplan.execute()
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 1146, in execute
    p.execute_install(src, dest)
File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 296, in execute_install
    dest.install(self, src)
File "/usr/lib/python2.6/vendor-packages/pkg/actions/legacy.py", line 110, 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 'ca39d1d04bc4'.


--
Alan Burlison
--
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to