On 05/26/11 15:48, Alan Coopersmith wrote:
On 05/26/11 05:53 AM, Peter Dennis wrote:
   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'

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.

I hit a similar error last night upgrading to 165 and worked around it by
removing all the gnu-emacs packages before the upgrade and then restoring
later, as they are the known users of the require-any depends right now.

My stack traceback looked more like:
https://defect.opensolaris.org/bz/show_bug.cgi?id=18043
while yours looks more like:
https://defect.opensolaris.org/bz/show_bug.cgi?id=18308

Ah - exactly this one (18308) and the same fix that 'we' hacked onto the system.

thanks
pete



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to