A colleague was trying to do an upgrade which resulted in:
Creating Plan -Traceback (most recent call last):
File "/usr/bin/pkg", line 4810, in handle_errors
__ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 4788, in main_func
return func(api_inst, pargs)
File "/usr/bin/pkg", line 1692, in update
verbose)
File "/usr/bin/pkg", line 1689, in update
repos=origins)
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line
853, in plan_update_all
log_op_end=[apx.IpkgOutOfDateException])
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line
833, in plan_update_all
reject_list=reject_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
3635, in make_update_plan
check_cancelation, noexecute, pkg_list, reject_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
3592, in __make_plan_common
pfunc(*args)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py",
line 364, in plan_update
reject_set=reject_set)
File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py",
line 665, in solve_update_all
excludes=excludes)
File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py",
line 1342, in __generate_dependency_errors
excludes)
File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py",
line 1449, in __do_error_work
needs_processing |= match
TypeError: unsupported operand type(s) for |=: 'set' and 'list'
pkg: This is an internal error in pkg(5) version 35bb44f90dcd. Please
let the
developers know about this problem by including the information above (and
this message) when filing a bug at:
https://defect.opensolaris.org/bz/enter_bug.cgi?product=pkg&component=cli
I've not found a bug for this but it appears to be an issue with the
'require-any' type processing in __parse_dependency() because the
'matching' and 'nonmatching' are lists and thus the returned type
to __do_error_work is 'list' instead of 'set' causing the line above
to fall over with the error.
Pete
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss