[OpenIndiana-discuss] pkg update fails
Dmitry Kozhinov
dima at desktopfay.com
Mon Aug 29 20:39:53 UTC 2016
Hi all,
Wanted to install latest updates and test Mate again, but "pkg update"
failed (error messages below). This is just a test install in a Virtual
Box, so no repair is needed for my installation. Here are error messages
for the case if I am not alone and something is wrong with the latest OI:
# pkg update
Packages to remove: 2
Packages to update: 359
Packages to change: 2
Mediators to change: 1
Create boot environment: Yes
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER
(MB) SPEED
Completed 363/363 3323/3323 108.9/108.9
724k/s
PHASE ITEMS
Removing old actions 1147/1147
Installing new actions 1011/1011
Updating modified actions 1407/4662Action 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/tmpbL6fzN 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 42c625b. Please log a
Service Request about this issue including the information above and this
message.
More information about the openindiana-discuss
mailing list