When I try to update my b155 be to 156 I get the following error.
I am using the sol-11-dev-156-repo-full.iso iso mounted on /repo/mnt

pkg: An unexpected error happened during update: pkg(5) image found at 
'/tmp/tmp6VvW7l' instead of '/'.
Traceback (most recent call last):
  File "/usr/bin/pkg", line 4557, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 4535, in main_func
    return func(api_inst, pargs)
  File "/usr/bin/pkg", line 1624, in update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 1022, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 850, in 
execute_plan
    self.__be_name)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/bootenv.py", line 358, in 
init_image_recovery
    img.find_root(self.clone_dir)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 479, in 
find_root
    live_root=live_root)
ImageLocationAmbiguous: pkg(5) image found at '/tmp/tmp6VvW7l' instead of '/'.


pkg: This is an internal error in pkg(5) version f66190a5c687.  Please let the
developers know about this problem by including the information above (and
this message) when filing a bug at:

https://defect.opensolaris.org/bz/enter_bug.cgi?product=pkg&component=cli

After this error beadm list shows the be mounted:
BE   Active Mountpoint     Space  Policy Created          
--   ------ ----------     -----  ------ -------          
b154 -      -              19.31M static 2010-12-12 12:51 
b155 NR     /              52.94G static 2010-12-29 18:37 
b156 -      /tmp/tmp6VvW7l 118.0K static 2011-01-07 09:19 

umounting and destroying the be and retrying gives the same error.

        Paul

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

Reply via email to