[OpenIndiana-discuss] pkg install error on zone

Roel_D openindiana at out-side.nl
Mon Nov 19 21:03:04 UTC 2012


I tried to install GIT on a zone and it failed with an error.

 

root at zone:~# pkg install git

               Packages to install:    56

           Create boot environment:    No

               Services to restart:     3

DOWNLOAD                                  PKGS       FILES    XFER (MB)

Completed                                56/56 22358/22358  133.4/133.4

 

PHASE                                        ACTIONS

Install Phase                            14481/28431Action install failed
for 'lib/libc.so.1' (pkg://openindiana.org/system/library):

  OSError: [Errno 16] Device busy

pkg: An unexpected error happened during install: [Errno 16] Device busy

Traceback (most recent call last):

  File "/usr/bin/pkg", line 4233, in handle_errors

    __ret = func(*args, **kwargs)

  File "/usr/bin/pkg", line 4212, in main_func

    return func(img, pargs)

  File "/usr/bin/pkg", line 1410, in install

    ret_code = __api_execute_plan(op, api_inst)

  File "/usr/bin/pkg", line 1001, in __api_execute_plan

    api_inst.execute_plan()

  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 828, in
execute_plan

    self.__img.imageplan.execute()

  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line
1226, in execute

    p.execute_install(src, dest)

  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 336,
in execute_install

   dest.install(self, src)

  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 211,
in install

    portable.rename(temp, final_path)

  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

 

 

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 '4d886e93dafc'.

 



More information about the OpenIndiana-discuss mailing list