[OpenIndiana-discuss] pkg update error

Michael Kruger makruger2000 at gmail.com
Sat Oct 1 16:40:43 UTC 2016


Hi Glenn,

Sounds like you ran into this: 
https://www.openindiana.org/2016/08/29/possible-ssh-update-issue/

Michael


On 10/01/2016 12:11 PM, Glenn Holmer wrote:
> What does it mean? What should I do?
>
>
> root at shoggoth:/root# pkg update --be-name 2016-10-01
>              Packages to remove:   7
>             Packages to install:  14
>              Packages to update: 535
>             Mediators to change:   1
>         Create boot environment: Yes
> Create backup boot environment:  No
>
> DOWNLOAD                                PKGS         FILES    XFER (MB)
>   SPEED
> Completed                            556/556     6247/6247  330.4/330.4
> 1.7M/s
>
> PHASE                                          ITEMS
> Removing old actions                       2923/2923
> Installing new actions                     3596/3596
> Updating modified actions                  2955/7387Action upgrade
> failed for 'etc/ssh/sshd_config'
> (pkg://openindiana.org/service/network/ssh):
>   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/tmp2sBW_d should you wish to inspect it.
> Traceback (most recent call last):
>    File "/usr/bin/pkg", line 5444, in handle_errors
>      __ret = func(*args, **kwargs)
>    File "/usr/bin/pkg", line 5430, in main_func
>      pargs=pargs, **opts)
>    File "/usr/bin/pkg", line 2116, in update
>      display_plan_cb=display_plan_cb, logger=logger)
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
> line 1600, in _update
>      logger=logger)
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
> line 1476, in __api_op
>      ret = __api_execute_plan(_op, _api_inst)
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
> line 1028, in __api_execute_plan
>      api_inst.execute_plan()
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line
> 2825, in execute_plan
>      self._img.imageplan.execute()
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/imageplan.py",
> line 4613, in execute
>      p.execute_update(src, dest)
>    File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgplan.py", line
> 582, in execute_update
>      dest.install(self, src)
>    File "/usr/lib/python2.7/vendor-packages/pkg/actions/file.py", line
> 189, in install
>      stream = self.data()
> TypeError: 'NoneType' object is not callable
>
>
> pkg: This is an internal error in pkg(5) version 33d20ff.  Please log a
> Service Request about this issue including the information above and this
> message.
> root at shoggoth:/root#
>
>




More information about the openindiana-discuss mailing list