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

illumos project devnull at illumos.org
Tue Dec 10 19:55:35 UTC 2013


Issue #1064 has been updated by Ken Mays.

Due date set to 2013-12-10
Status changed from New to Closed
Estimated time set to 1.00
Tags changed from needs-triage to pkg

Using the slide info from Oracle on B.E. setup and usage to update systems versus Live images issue. Will post this workaround on Wiki as well for new pkg release in hipster.
----------------------------------------
Bug #1064: image-update failure in file upgrade action
https://www.illumos.org/issues/1064

Author: Albert Lee
Status: Closed
Priority: Low
Assignee: OI PKG
Category: pkg (Image Packaging System)
Target version: oi_151_stable
Difficulty: Medium
Tags: pkg


Testing yesterday's /dev-il update, I get this image-update failure:
<pre>
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
m/input-method/iiim/hangul):
 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
 callable
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
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 749, in exe
cute_plan
    self.__img.imageplan.execute()
  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
 execute_update
    dest.install(self, src)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 174, in i
nstall
    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+'.
</pre>

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