Hi All,

Trying to upgrade from build 146 to build 147 on sparc I get:

glaga...@wetblanket % pfexec pkg image-update --be-name opensolaris-147
~
DOWNLOAD                                  PKGS       FILES    XFER
(MB)Completed                              526/526   7740/7740
366.9/366.9

PHASE                                        ACTIONS
Removal Phase                               156/3293 
Warning - directory /tmp/tmpvrHaRT/var/sadm/pkg/SUNWlang-sh not empty or
not expected during operation - contents preserved in
/tmp/tmpvrHaRT/var/pkg/lost+found/var/sadm/pkg/SUNWlang-sh-20100903T130559Z
Removal Phase                              3293/3293 
Install Phase                              4108/4204Action 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/tmpvrHaRT 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 3802, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3779, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1188, in image_update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 831, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 727,
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
'4ba5092f1b06'.

There's nothing really special about this machine in terms of what's
installed (or how it was installed) that I can think of.  I deleted the
new BE and ran pkg fix in the original just to see if things would clear
up (they didn't).  Couldn't find anything on defect.opensolaris.org or
the release notes.  Any thoughts on a) how to upgrade cleanly and b)
what caused the problem in the first place?  I've got the following
publisher's configured:

glaga...@wetblanket % pkg publisher
~
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online
http://ipkg.sfbay.sun.com/dev/
extra                                 origin   online
http://ipkg.sfbay.sun.com/extra/

Thanks,

Glenn


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

Reply via email to