On 03/ 1/10 12:46 PM, Glenn Lagasse wrote:
I'm running a pretty fresh install of build 133. I've got the dev and
extra repository configured. I'm trying to uninstall the virtualbox
package and pkg is back tracing.
glaga...@praetorian> pkg publisher
~
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://ipkg.sfbay/dev/
extra origin online
https://pkg.sun.com/opensolaris/extra/
glaga...@praetorian> pfexec pkg uninstall virtualbox
~Creating PlanTraceback (most recent call last):
File "/usr/bin/pkg", line 3663, in handle_errors __ret =
func(*args, **kwargs)
File "/usr/bin/pkg", line 3640, in main_func
return func(img, pargs)
File "/usr/bin/pkg", line 1237, in uninstall
if not __api_plan_exception(op, noexecute=noexecute):
File "/usr/bin/pkg", line 1234, in uninstall
noexecute, verbose=verbose, update_index=update_index):
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 398,
in plan_uninstall
self.__plan_common_exception()
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 383,
in plan_uninstall
verbose=verbose)
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
2642, in make_uninstall_plan
ip.plan_uninstall(fmri_list, recursive_removal)
File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py",
line 244, in plan_uninstall
proposed_removals, recursive_removal, self.__new_excludes) File
"/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 494,
in solve_uninstall
self.__elide_possible_renames(orig_installed_set) File
"/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 809,
in __elide_possible_renames
new_fmri = fmris_by_name[pkg.fmri.PkgFmri(da.attrs["fmri"],
"5.11").pkg_name]
KeyError: 'system/ldoms'
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
theabove traceback and this message. The version of pkg(5) is
'e8a100940a12'.
[99] glaga...@praetorian> pkg info virtualbox
~ Name: virtualbox
Summary: Sun VirtualBox Category: System/Virtualization
State: Installed
Publisher: extra
Version: 3.1.4
Build Release: 5.11
Branch: 0.101
Packaging Date: February 18, 2010 06:45:10 PM
Size: 193.29 MB
FMRI: pkg://extra/[email protected],5.11-0.101:20100218T184510Z
I tried looking for a relevant bug with no luck. Any ideas on how I can
remove this package?
See:
http://defect.opensolaris.org/bz/show_bug.cgi?id=14624
You just need to:
pfexec pkg install pkg
...and that should give you the fix you need to uninstall virtualbox.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss