On 05/ 4/10 01:28 PM, Sergey Sprogis wrote:
Hi,

Using 'pkg image-update' I tried to upgrade my sqao59.sfbay Opteron
machine which currently has OSOl snv_137 on, but upgrade failed
with the following:

=======================================================
Action upgrade failed for 'lib/libc.so.1'
(pkg://opensolaris.org/system/library):
OSError: [Errno 16] Device busy
pkg: An unexpected error happened during image-update: [Errno 16] Device
busy
...
File "/usr/lib/python2.6/vendor-packages/pkg/portable/os_unix.py", line
236, in rename
os.rename(src, dst)
OSError: [Errno 16] Device busy

This particular error isn't expected on upgrades, although a related issue was fixed for removal for 138:

  529 client can traceback with EBUSY during action removal

How are you performing this upgrade?  Using image-update?

If you are using image-update, do you see any useful error mesages if you set BE_PRINT_ERR=true before executing?

A possible workaround would be to create an alternate BE and then update that instead:

  beadm create <new_be_name>
  beadm mount <new_be_name> /mnt
  pkg image-update -R /mnt
  bootadm update-archive -R /mnt
  beadm unmount <new_be_name>
  beadm activate <new_be_name>

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

Reply via email to