Shawn Walker wrote: > Rich Burridge wrote: >> 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+'. > > No, but it's probably not doing it simply because the package isn't > installed. > > What's the output of "pkg version"?
The same as in the error message above. :-) (Build #99). > > There were several inventory related errors that were fixed after the > build 99 version of pkg. > > Can you try pkg tip? Okay. In a little while though; I'm working on something else at the moment. Maybe you can try it in the meantime... _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
