On Fri, Jul 18, 2008 at 3:02 PM, Seema Alevoor <[EMAIL PROTECTED]> wrote: > Latest pkg (built using the latest source) is throwing the following errors > for some of the commands. > What could be the cause ? Any solution ?
Have you done a pkg refresh ? Regards, Moinak. > > Thanks, > Seema. > > ------------------------------------------------ > $ pkg list > Traceback (most recent call last): > File "/usr/bin/pkg", line 1534, in ? > ret = main_func() > File "/usr/bin/pkg", line 1496, in main_func > return list_inventory(img, pargs) > File "/usr/bin/pkg", line 155, in list_inventory > for pkg, state in img.inventory(pargs, all_known): > AttributeError: 'Image' object has no attribute 'inventory' > > $ pkg install SUNWgnome-common-devel > pkg: > An unexpected error happened during install: > Traceback (most recent call last): > File "/usr/bin/pkg", line 1534, in ? > ret = main_func() > File "/usr/bin/pkg", line 1500, in main_func > return install(img, pargs) > File "/usr/bin/pkg", line 490, in install > img.imageplan.preexecute() > AttributeError: 'ImagePlan' object has no attribute 'preexecute' > ------------------------------------------------ > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
