Sorry, incomplete mail. Couple of nits :-(
Sub should be 'pkg exception'.
2ndly is this a known issue? If not I will file a bug, as the msg suggests.
3rdly, How do I recover from this stage?
thanks,
Surya
Surya Prakki wrote:
I installed OSo 2009.06 and then tried image updating to ipkg.sfbay/dev
and ipkg hit the following exception :
Completed 1376/1376 102596/102596
1019.50/1019.50
PHASE ACTIONS
Removal Phase 44281/104934 Action removal
failed for 'boot/grub/menu.lst' (pkg:/SUNWgrub):
OSError: [Errno 2] No such file or directory:
'/tmp/tmpVvRIuM/boot/grub/menu.lst'
The running system has not been modified. Modifications were only made
to a clone of the running system. This clone is mounted at
/tmp/tmpVvRIuM should you wish to inspect it.
pkg: An unexpected error happened during image-update: [Errno 2] No
such file or directory: '/tmp/tmpVvRIuM/boot/grub/menu.lst'
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
526, in execute_plan
self.img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 717, in execute
p.execute_removal(src, dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line
282, in execute_removal
src.remove(self)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line
349, in remove
self.save_file(pkgplan.image, path)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line
396, in save_file
misc.copyfile(full_path, saved_name)
File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 85, in
copyfile
fs = os.lstat(src_path)
OSError: [Errno 2] No such file or directory:
'/tmp/tmpVvRIuM/boot/grub/menu.lst'
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
'87d6ba4c8e1c'.
r...@opensolaris:~#
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev