I get this error while trying to upgrade from b130

r...@t61p:~#  cat /etc/release

                       OpenSolaris Development snv_130 X86

           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.

                        Use is subject to license terms.

                           Assembled 18 December 2009


to b132

pkg: Requested "install" operation would affect files that

        cannot be modified in live image.

        Please retry this operation on an alternate boot environment.


According to the readme I then tried to remove the packages from the contrib repo -- but it does not work for two of the packages (see below)

How can I fix this error?

regards

Bernd


r...@t61p:~# pkg uninstall grsync
PHASE                                        ACTIONS
Removal Phase                                  19/61
Warning - directory usr/share/locale/sv_SE/LC_MESSAGES not empty - contents 
preserved in 
/var/pkg/lost+found/usr/share/locale/sv_SE/LC_MESSAGES-20100206T194958Z
Removal Phase                                  21/61Action removal failed for 
'usr/share/locale/sv_SE' (pkg://opensolariscontrib/grsync):
 OSError: [Errno 20] Not a directory: '//usr/share/locale/sv_SE'
The Boot Environment OpenSolaris06.2009-6 failed to be updated. A snapshot was 
taken before the failed attempt and is mounted here /tmp/tmpfdkYVH. Use 'beadm 
unmount OpenSolaris06.2009-11' and then 'beadm activate OpenSolaris06.2009-11' 
if you wish to boot to this BE.
pkg: An unexpected error happened during uninstall: [Errno 20] Not a directory: 
'//usr/share/locale/sv_SE'
Traceback (most recent call last):
  File "/usr/bin/pkg", line 3154, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3131, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1061, in uninstall
    return __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 614, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 596, in 
execute_plan
    self.__img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 849, 
in execute
    p.execute_removal(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 262, in 
execute_removal
    src.remove(self)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/directory.py", line 124, 
in remove
    os.rmdir(path)
OSError: [Errno 20] Not a directory: '//usr/share/locale/sv_SE'


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 'f4ce7d1913be'.

r...@t61p:~# pkg uninstall wine
PHASE                                        ACTIONS
Removal Phase                              1123/1123
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                                1/1
r...@t61p:~# pkg uninstall grsync
PHASE                                        ACTIONS
Removal Phase                                   1/61Action removal failed for 
'usr/share/locale/sv_SE' (pkg://opensolariscontrib/grsync):
 OSError: [Errno 20] Not a directory: '//usr/share/locale/sv_SE'
The Boot Environment OpenSolaris06.2009-6 failed to be updated. A snapshot was 
taken before the failed attempt and is mounted here /tmp/tmpAyZSQu. Use 'beadm 
unmount OpenSolaris06.2009-12' and then 'beadm activate OpenSolaris06.2009-12' 
if you wish to boot to this BE.
pkg: An unexpected error happened during uninstall: [Errno 20] Not a directory: 
'//usr/share/locale/sv_SE'
Traceback (most recent call last):
  File "/usr/bin/pkg", line 3154, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 3131, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1061, in uninstall
    return __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 614, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 596, in 
execute_plan
    self.__img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 849, 
in execute
    p.execute_removal(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 262, in 
execute_removal
    src.remove(self)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/directory.py", line 124, 
in remove
    os.rmdir(path)
OSError: [Errno 20] Not a directory: '//usr/share/locale/sv_SE'


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 'f4ce7d1913be'.






--
Bernd Schemmer, Frankfurt am Main, Germany
http://bnsmb.de/

M s temprano que tarde el mundo cambiar .
Fidel Castro
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to