[Pkg-team] [OpenIndiana Distribution - Bug #1064] image-update failure in file upgrade action

illumos project devnull at illumos.org
Wed May 25 17:32:47 UTC 2011

Issue #1064 has been updated by Albert Lee.

Different package this time:
<pre>Update Phase                             15956/26775Action upgrade failed for '
usr/lib/iiim/le/thaile/thaile.so' (pkg://openindiana.org/system/input-method/ii
 TypeError: 'NoneType' object is not callable

My current guess is that a FileAction was created with data=None.
Bug #1064: image-update failure in file upgrade action

Author: Albert Lee
Status: New
Priority: Normal
Assignee: OI PKG
Category: pkg (Image Packaging System)
Target version: oi_151
Difficulty: Medium
Tags: needs-triage

Testing yesterday's /dev-il update, I get this image-update failure:
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1000/1000 18167/18167  522.3/522.3

PHASE                                        ACTIONS
Removal Phase                              8777/8777 
Install Phase                            10281/10281 
Update Phase                             15413/26775Action upgrade failed for '
usr/lib/iiim/le/hangul/input_methods/hangul_im.so' (pkg://openindiana.org/syste
 TypeError: 'NoneType' object is not callable
 The running system has not been modified. Modifications were only made to a cl
one of the running system.  This clone is mounted at /tmp/tmpDL12Eu should you 
wish to inspect it.
pkg: An unexpected error happened during image-update: 'NoneType' object is not
Traceback (most recent call last):
  File "/usr/bin/pkg", line 4242, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 4221, in main_func
    return func(img, pargs)
  File "/usr/bin/pkg", line 1395, in image_update
    ret_code = __api_execute_plan(op, api_inst)
  File "/usr/bin/pkg", line 991, in __api_execute_plan
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 749, in exe
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 1176,
 in execute
    p.execute_update(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 335, in
    dest.install(self, src)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 174, in i
    stream = self.data()
TypeError: 'NoneType' object is not callable

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 '46a73a170135+'.

The symptoms are similar to 
https://defect.opensolaris.org/bz/show_bug.cgi?id=15254 but this BE is not split across filesystems. I'll try to investigate further.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account

More information about the Pkg-team mailing list