[Pkg] [OpenIndiana Distribution - Bug #4258] Pkg fails updating in Hipster, when /opt (without onbld) is mounted on separate dataset

illumos project devnull at illumos.org
Thu Dec 5 07:28:56 UTC 2013


Issue #4258 has been updated by Predrag Zečević.


Hi, and once more, but different package, here snip:

<pre>
PHASE                                        ACTIONS                                                                                                                                                               
Removal Phase                                239/239                                                                                                                                                               
Install Phase                                126/126                                                                                                                                                               
Update Phase                                751/4045Action upgrade failed for 'opt/SUNWdtrt/tst/common/sdt/tst.sdtargs.exe' (pkg://openindiana.org/system/dtrace/tests):                                           
 TypeError: 'NoneType' object is not callable                                                                                                                                                                      
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmp3p51nv should you wish to inspect it.                                  
pkg: An unexpected error happened during update: 'NoneType' object is not callable                                                                                                                                 
Traceback (most recent call last):                                                                                                                                                                                 
  File "/usr/bin/pkg", line 5975, in handle_errors                                                                                                                                                                 
    __ret = func(*args, **kwargs)                                                                                                                                                                                  
  File "/usr/bin/pkg", line 5958, in main_func                                                                                                                                                                     
    pargs=pargs, **opts)                                                                                                                                                                                           
  File "/usr/bin/pkg", line 2344, in update                                                                                                                                                                        
    reject_list=reject_pats, update_index=update_index)                                                                                                                                                            
  File "/usr/bin/pkg", line 1604, in __api_op                                                                                                                                                                      
    ret_code = __api_execute_plan(_op, _api_inst)                                                                                                                                                                  
  File "/usr/bin/pkg", line 1290, in __api_execute_plan                                                                                                                                                            
    api_inst.execute_plan()                                                                                                                                                                                        
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2177, in execute_plan                                                                                                                          
    self._img.imageplan.execute()                                                                                                                                                                                  
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 2984, in execute                                                                                                                         
    p.execute_update(src, dest)                                                                                                                                                                                    
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 462, in execute_update                                                                                                                     
    dest.install(self, src)                                                                                                                                                                                        
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 214, in install                                                                                                                              
    stream = self.data()                                                                                                                                                                                           
TypeError: 'NoneType' object is not callable                                                                                                                                                                       
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
pkg: This is an internal error in pkg(5) version 1ff317412fe4+.  Please log a                                                                                                                                      
Service Request about this issue including the information above and this                                                                                                                                          
message.                                                                                                  
</pre>

Removing dtrace/tests helped... OS
<pre>
$ uname -vors
SunOS 5.11 illumos-bb411a0 Solaris

</pre>
----------------------------------------
Bug #4258: Pkg fails updating in Hipster, when /opt (without onbld) is mounted on separate dataset
https://www.illumos.org/issues/4258

Author: Nikola M.
Status: New
Priority: Normal
Assignee: OI PKG
Category: Release Engineering
Target version: 
Difficulty: Medium
Tags: pkg


OI Hipster fails to update on pkg error. (from 7de6f2c to 2013-10-22 09:35)
Seems like it wants to use /opt for something
and I mounted /opt to separate zfs dataset and it previously failed to mount /opt and launch GUI login, untill /opt was deleted and dataset mounted to /opt.
So on every update it fails to recognize mounted /opt , make new one and create /opt/onbld and then fails to present GUI.
And now pkg fails to update (this is new).

Update Phase                                937/4693Action upgrade failed for 'opt/onbld/bin/i386/protocmp' (pkg://openindiana.org/developer/build/onbld):
 TypeError: 'NoneType' object is not callable
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmpesmIKM should you wish to inspect it.
pkg: An unexpected error happened during update: 'NoneType' object is not callable
Traceback (most recent call last):
  File "/usr/bin/pkg", line 5975, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 5958, in main_func
    pargs=pargs, **opts)
  File "/usr/bin/pkg", line 2344, in update
    reject_list=reject_pats, update_index=update_index)
  File "/usr/bin/pkg", line 1604, in __api_op
    ret_code = __api_execute_plan(_op, _api_inst)
  File "/usr/bin/pkg", line 1290, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2177, in execute_plan
    self._img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 2984, in execute
    p.execute_update(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 462, in execute_update
    dest.install(self, src)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 214, in install
    stream = self.data()
TypeError: 'NoneType' object is not callable
 
 
pkg: This is an internal error in pkg(5) version 1ff317412fe4+.  Please log a
Service Request about this issue including the information above and this
message.
 
$ uname -a
SunOS oin 5.11 illumos-7de6f2c i86pc i386 i86pc Solaris


-- 
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