Peter Dunlap wrote:
I looked through the release notes and didn't see anything that seemed to deal with this. Whenever I try to pkg image-update I get this error:

$ pfexec pkg image-update
Creating Plan \Traceback (most recent call last):
 File "/usr/bin/pkg", line 2599, in handle_errors
   __ret = func(*args, **kwargs)
 File "/usr/bin/pkg", line 2535, in main_func
   return image_update(mydir, pargs)
 File "/usr/bin/pkg", line 764, in image_update
   if not __api_plan_exception(op, noexecute=noexecute):
 File "/usr/bin/pkg", line 762, in image_update
   update_index=update_index, be_name=be_name)
File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 420, in plan_update_all
   self.__plan_common_exception(
File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 401, in plan_update_all
   multimatch_ignore=True)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 2577, in make_install_plan
   self.__call_imageplan_evaluate(ip, verbose)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 619, in __call_imageplan_evaluate
   ip.evaluate()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 459, in evaluate
   self.add_pkg_plan(f)
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 384, in add_pkg_plan
   pp.evaluate(self.old_excludes, self.new_excludes)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 148, in evaluate
   raise RuntimeError, ["Duplicate actions", ddups]
RuntimeError: ['Duplicate actions', [(('file', 'usr/lib/python2.4/regsub.pyc'), set([<pkg.actions.file.FileAction object at 0xba6646c>, <pkg.actions.file.FileAction object at 0xbb5ccac>])), (('file', 'usr/lib/python2.4/test/badsyntax_future7.py'), set([<pkg.actions.file.FileAction object at 0xbdf276c>, <pkg.actions.file.FileAction object at 0xbb81c8c>]))]]

What build is this system upgrading from? You mentioned 118 for another system, but can you double check that this one is upgrading from 118 and not something earlier?

If it is, you'll need to install the newest SUNWipkg for that build first, with something like:

pfexec pkg install [email protected],5.11-0.<build_number>

...then attempt the image-update again.

Cheers,
--
Shawn Walker
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to