Trying to migrate my brain from luupdate to pkg image-update, and if image-upadte does what I think it does, it will be great.
So I tried running pkg image-update on my 124 server, in the hope that it will create a clone of the OS, and add another entry to GRUB. I ran these commands: [code] # sudo bash # uname -a SunOS $host 5.11 snv_124 i86pc i386 i86xpv # BUILD=`uname -v | sed s/snv_//` # pkg unset-published jucr-pending # No connection on port 80, hanging the process # pkg refresh # pkg install SUNWipkg at 0.5.11-0.${BUILD} # pkg install entire at 0.5.11-0.${BUILD} # pkg install SUNWinstall-libs # pkg image-update [/code] After quite a while, it spits out some issues, which don't appear to be fatal: [code] Removal Phase 1162/125616 driver (bridge) clone permission update failed with return code 252 command run was: /usr/sbin/update_drv -b /tmp/tmpbMg-wG -d -m bridge 0666 root s ys clone command output was: ------------------------------------------------------------ No entry found for driver (clone) in file (/tmp/tmpbMg-wG/etc/minor_perm). ------------------------------------------------------------ [/code] But eventually it ends with [code] Removal Phase 117644/125616 Action removal failed for 'slocate' (pkg://opensolaris.org/SUNWslocate): KeyError: 'user-list' The running system has not been modified. Modifications were only made to a clo ne of the running system. This clone is mounted at /tmp/tmpbMg-wG should you wi sh to inspect it. pkg: An unexpected error happened during image-update: 'user-list' Traceback (most recent call last): File "/bin/pkg", line 2806, in handle_errors __ret = func(*args, **kwargs) File "/bin/pkg", line 2740, in main_func return image_update(img, pargs) File "/bin/pkg", line 799, in image_update if not __api_execute_plan(op, api_inst): File "/bin/pkg", line 552, in __api_execute_plan api_inst.execute_plan() File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 607, in exec ute_plan self.__img.imageplan.execute() File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 743, i n execute p.execute_removal(src, dest) File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 293, in execute_removal src.remove(self) File "/usr/lib/python2.4/vendor-packages/pkg/actions/group.py", line 107, in r emove if not cur_attrs["user-list"]: KeyError: 'user-list' 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 '7b2e3230fde9'. [/code] rpool/ROOT/opensolaris 9.09G 319G 8.50G / rpool/ROOT/opensolaris-1 15.9M 319G 4.41G /tmp/tmpbMg-wG I would assume it is not bootable. Is there a svn stepping firmware I should upgrade to first? I could try 125. -- This message posted from opensolaris.org