Hi,

Tried to upgrade our AI server from 111b to 123 by do the following step and saw failure on pkg install SUNWipkg ... any clues ?

Thx,

-Steven

----

1. check publisher / authority

-bash-3.2# pkg authority
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org (preferred) origin online http://ipkg.sfbay/dev/
-bash-3.2#


2. first dry run pkg image-update ... advised to upgrade ipkg package first ...

-bash-3.2# pkg image-update -n
WARNING: pkg(5) appears to be out of date, and should be updated before
running image-update.

Please update pkg(5) using 'pfexec pkg install SUNWipkg' and then retry
the image-update.
-bash-3.2#


3. Update the SUNWipkg ... and saw the failure

-bash-3.2# pfexec pkg install SUNWipkg
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                34/34   3289/3289    62.1/62.1

PHASE                                        ACTIONS
Removal Phase                                118/118
Install Phase                                888/888
Update Phase 612/4376 Action upgrade failed for 'lib/libc.so.1' (pkg:/SUNWcsl):
OSError: [Errno 16] Device busy
The Boot Environment opensolaris-2 failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmp4mS_LL. Use 'beadm unmount opensolaris-3' and then 'beadm activate opensolaris-3' if you wish to boot to this BE. pkg: An unexpected error happened during installation: [Errno 16] Device busy
Traceback (most recent call last):
 File "/usr/bin/pkg", line 2599, in ?
   __ret = main_func()
 File "/usr/bin/pkg", line 2542, in main_func
   return install(mydir, pargs)
 File "/usr/bin/pkg", line 779, in install
   api_inst.execute_plan()
File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 522, in execute_plan
   self.img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 734, in execute
   p.execute_update(src, dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 275, in execute_update
   dest.install(self, src)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 197, in install
   portable.rename(temp, final_path)
File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 197, in rename
   os.rename(src, dst)
OSError: [Errno 16] Device busy


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 '5d367e025f46'.
-bash-3.2#

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

Reply via email to