As suggested, I tried to unstall Open-office to get around this.  this also 
failed until I manually backed up and then destroyed the offending directory 
structures in /opt/openoffice.  see below

:~# pkg -R /mnt image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                759/759   9700/9700 226.35/226.35 

PHASE                                        ACTIONS
Removal Phase                                 1/5748 Action removal failed for 
'opt/openoffice.org/basis3.0/ure-link' (pkg:/openoffice):
  OSError: [Errno 1] Not owner: '/mnt/opt/openoffice.org/basis3.0/ure-link'
b111b failed to be updated. No changes have been made to b111b.

pkg: Could not operate on /mnt/opt/openoffice.org/basis3.0/ure-link
because of insufficient permissions. Please try the command again using pfexec
or otherwise increase your privileges.

~# pkg uninstall openoffice
PHASE                                        ACTIONS
Removal Phase                                47/5291 Action removal failed for 
'opt/openoffice.org3/basis-link' (pkg:/openoffice):
  OSError: [Errno 1] Not owner: '//opt/openoffice.org3/basis-link'
The Boot Environment b111-1 failed to be updated. A snapshot was taken before 
the failed attempt and is mounted here /tmp/tmpRbh-73. Use 'beadm unmount 
b111-2' and then 'beadm activate b111-2' if you wish to boot to this BE.

pkg: Could not operate on //opt/openoffice.org3/basis-link
because of insufficient permissions. Please try the command again using pfexec
or otherwise increase your privileges.

~# rm -fr /opt/openoffice.org3/basis-link

s...@bastion:~# pkg uninstall openoffice
PHASE                                        ACTIONS
Removal Phase                                73/5291 Action removal failed for 
'opt/openoffice.org/basis3.0/ure-link' (pkg:/openoffice):
  OSError: [Errno 1] Not owner: '//opt/openoffice.org/basis3.0/ure-link'
The Boot Environment b111-1 failed to be updated. A snapshot was taken before 
the failed attempt and is mounted here /tmp/tmpEP-ABg. Use 'beadm unmount 
b111-3' and then 'beadm activate b111-3' if you wish to boot to this BE.

pkg: Could not operate on //opt/openoffice.org/basis3.0/ure-link
because of insufficient permissions. Please try the command again using pfexec
or otherwise increase your privileges.

:~# rm -fr /opt/openoffice.org/basis3.0/ure-link

:~# pkg uninstall openoffice
PHASE                                        ACTIONS
Removal Phase                              5291/5291 
PHASE                                          ITEMS
Reading Existing Index                           8/8 
Indexing Packages                                1/1

At this point I had to unmount and destroy the b111b BE and recreate it so that 
it would reflect the openoffice removal.  The update then proceeded normally 
from the command line.

b111-2 -      /tmp/tmpRbh-73 86.0K   static 2009-05-30 15:57 
b111-3 -      /tmp/tmpEP-ABg 105.0K  static 2009-05-30 16:00 

I was also left with a couple of dangling BEs that I destroyed manually.
-- 
This message posted from opensolaris.org
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to