Hi,
Should this really throw an assert if the package is simply not installed?
$ pkg info SUNWj6rt
Name: SUNWj6rt
Summary: JDK 6.0 Runtime Env. (1.6.0_07)
State: Not installed
Authority: osol-re
Version: 0.5.11
Build Release: 5.11
Branch: 0.99
Packaging Date: Wed Oct 8 14:36:28 2008
Size: 86.4 MB
FMRI: pkg://osol-re/[EMAIL PROTECTED],5.11-0.99:20081008T143628Z
$ pfexec pkg uninstall SUNWj6rt
Traceback (most recent call last):
File "/usr/bin/pkg", line 2284, in ?
__ret = main_func()
File "/usr/bin/pkg", line 2237, in main_func
return uninstall(img, pargs)
File "/usr/bin/pkg", line 908, in uninstall
assert not ip.nothingtodo()
AssertionError
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 'be1ad23e7704+'.
$
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss