Following up on the question Anurag asked a couple days ago:
We have an NWAM phase 1 repo built based on onnv_129; Anurag
built this repo using the on_ips build 129 repo.
Updates from opensolaris build 128 to nwam_129 work; but when
we try to image-update from a BE running opensolaris build 129,
we get the following error:
chin-ho# pkg image-update --be-name nwam_129
Creating Plan \Traceback (most recent call last):
File "/usr/bin/pkg", line 3139, in handle_errors
__ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 3116, in main_func
return func(img, pargs)
File "/usr/bin/pkg", line 934, in image_update
if not __api_plan_exception(op, noexecute=noexecute):
File "/usr/bin/pkg", line 932, in image_update
update_index=update_index, be_name=be_name)
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 408, in
plan_update_all
log_op_end=[api_errors.IpkgOutOfDateException])
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 379, in
plan_update_all
progtrack=self.__progresstracker):
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 2398, in
ipkg_is_up_to_date
check_cancelation, noexecute)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 2303, in
make_install_plan
ip.plan_install(pkg_list)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 201,
in plan_install
self.__new_excludes)
File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 259,
in solve_install
self.__possible_dict[name]))
KeyError: 'entire'
pkg: This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is '512c6b2dfda2'.
chin-ho#
We were originally attempting this update with just one enabled publisher,
the nwam1_ea publisher. At Bart's suggestion, I tried the update with the
opensolaris.org publisher enabled as well, but nwam1_ea still preferred.
If I left the opensolaris.org publisher sticky, the pkg command reported
that there were no updates to perform. If I made the opensolaris.org
publisher non-sticky, I got the same traceback and KeyError as before.
Any other suggestions? Or do we simply need to wait for Bart's fix for
this bug? And is there a bugid for this bug?
Thanks!
renee
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss