Praveen,

SUNWxwplt changed the locale directory from /usr/X11/share/X11/locale
to a symbolic link that points to /usr/share/X11/locale in Build 130.
However, looking at the system I note that there are only a few packages
installed when using 'pkg list' but 'pkginfo' shows a whole bunch of
SVr4 packages installed.  Was this perhaps a Nevada system before?
Also you might check with #pkg5 on IRC to see if they have any further
insights.

Good Luck,

John



On 01/ 7/10 04:17 PM, Praveen Shivasharan wrote:
> pkg image-update command is failing. Has anyone seen this ? Searching
> now defect.opensolaris.org if
> any bugs are logged
>
> root at d53b:~# uname -a
> SunOS d53b 5.11 snv_127 i86pc i386 i86pc Solaris
> root at d53b:~#
> root at d53b:~# cat /etc/release
> OpenSolaris Development snv_127 X86
> Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
> Use is subject to license terms.
> Assembled 06 November 2009
> root at d53b:~#
> root at d53b:~# pkg publisher
> PUBLISHER TYPE STATUS URI
> opensolaris.org (preferred) origin online http://ipkg.sfbay/dev/
> root at d53b:~#
> root at d53b:~# root at d53b:~# pkg image-update
> DOWNLOAD PKGS FILES XFER (MB)
> Completed 55/55 12807/12807 105.6/105.6
>
> PHASE ACTIONS
> Removal Phase 12/12
> Install Phase 19172/19695Action install failed for
> 'usr/X11/share/X11/locale' (pkg://opensolaris.org/SUNWxwplt):
> ActionExecutionError: attempted to remove link
> 'usr/X11/share/X11/locale' but found a directory
> The running system has not been modified. Modifications were only made
> to a clone of the running system. This clone is mounted at
> /tmp/tmpECri_F should you wish to inspect it.
> pkg: An unexpected error happened during image-update: attempted to
> remove link 'usr/X11/share/X11/locale' but found a directory
> Traceback (most recent call last):
> File "/usr/bin/pkg", line 2841, in handle_errors
> __ret = func(*args, **kwargs)
> File "/usr/bin/pkg", line 2775, in main_func
> return image_update(img, pargs)
> File "/usr/bin/pkg", line 806, in image_update
> if not __api_execute_plan(op, api_inst):
> File "/usr/bin/pkg", line 559, in __api_execute_plan
> api_inst.execute_plan()
> File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 609,
> in execute_plan
> self.__img.imageplan.execute()
> File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line
> 774, in execute
> p.execute_install(src, dest)
> File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line
> 271, in execute_install
> dest.install(self, src)
> File "/usr/lib/python2.4/vendor-packages/pkg/actions/link.py", line 83,
> in install
> ignoreerrno=True)
> ActionExecutionError: attempted to remove link
> 'usr/X11/share/X11/locale' but found a directory
>
> 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 '6aeae7c6ca4c'.
>
> Thanks,
> Praveen
>
>
>

Reply via email to