There's nothing unusual about this server. Started with 2008.06 and then updated to 2009.11. I've definitely not messed with anything like pkg. I'm guessing that I shouldn't be getting this traceback.
-bash-3.2$ pfexec pkg install SUNWipkg DOWNLOAD PKGS FILES XFER (MB) Completed 8/8 480/480 2.20/2.20 PHASE ACTIONS Removal Phase 46/46 Install Phase 431/431 Update Phase 236/236 PHASE ITEMS Reading Existing Index 9/9 Indexing Packages 8/8 -bash-3.2$ pfexec pkg image-update DOWNLOAD PKGS FILES XFER (MB) Completed 679/679 44574/44574 1062.17/1062.17 PHASE ACTIONS Removal Phase 14847/14847 Install Phase 25143/25143 Update Phase 26031/41528 Action upgrade failed for 'usr/bin/slocate' (pkg:/SUNWslocate): KeyError: 'group name not found: slocate' The running system has not been modified. Modifications were only made to a clone of the running system. This clone is mounted at /tmp/tmpugyxYW should you wish to inspect it. pkg: An unexpected error happened during image-update: 'group name not found: slocate' Traceback (most recent call last): File "/usr/bin/pkg", line 2598, in ? __ret = main_func() File "/usr/bin/pkg", line 2539, in main_func return image_update(mydir, pargs) File "/usr/bin/pkg", line 607, in image_update api_inst.execute_plan() File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 525, in execute_plan self.img.imageplan.execute() File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 729, in execute p.execute_update(src, dest) File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 271, in execute_update dest.install(self, src) File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 101, in install group = pkgplan.image.get_group_by_name(self.attrs["group"]) File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 2438, in get_group_by_name self.type != IMG_USER) File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 91, in get_group_by_name raise KeyError, "group name not found: %s" % name KeyError: 'group name not found: slocate' 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 '26c3e2407c53'. Oddly enough, I get the same problem on a pkg verify of SUNWslocate also -bash-3.2$ pkg verify SUNWslocate Traceback (most recent call last): ..... -- File "/usr/bin/pkg", line 2598, in ? __ret = main_func() File "/usr/bin/pkg", line 2557, in main_func return verify_image(img, pargs) File "/usr/bin/pkg", line 440, in verify_image verbose=verbose, forever=forever): File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 795, in verify errors = act.verify(self, pkg_fmri=fmri, **args) File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 117, in verify group = img.get_group_by_name(self.attrs["group"]) File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 2438, in get_group_by_name self.type != IMG_USER) File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 91, in get_group_by_name raise KeyError, "group name not found: %s" % name KeyError: 'group name not found: slocate' 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 '26c3e2407c53'. Not sure where the slocate group went to, but I'm guessing there should not be a traceback regardless. Adding it back in and running pkg verify told me it was the wrong gid (duh), so I fixed that and pkg verify SUNWslocate came back clean. I won't know how the upgrade goes for another couple hours. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/install-discuss/attachments/20090603/97c1f350/attachment.html>