Rich Burridge wrote: > I just tried to update my work machine (was at build 94) > and got the following: > > $ pfexec pkg image-update > DOWNLOAD PKGS FILES XFER (MB) > Completed 568/568 4891/4891 540.15/540.15 > > PHASE ACTIONS > Removal Phase 3350/3350 > Update Phase 6320/8859 Action upgrade > failed for 'opt/DTT/Code/Python/func_abc.py' (pkg:/SUNWDTraceToolkit): > OSError: [Errno 2] No such file or directory: > '/tmp/tmpdawH1_/opt/DTT/Code/Python/func_abc.py' > pkg: > An unexpected error happened during image-update: [Errno 2] No such file > or directory: '/tmp/tmpdawH1_/opt/DTT/Code/Python/func_abc.py' > The running system has not been modified. Modifications were only made > to a clone of the running system. This clone is mounted at > /tmp/tmpdawH1_ should you wish to inspect it. > Traceback (most recent call last): > File "/usr/bin/pkg", line 1534, in ? > ret = main_func() > File "/usr/bin/pkg", line 1498, in main_func > return image_update(img, pargs) > File "/usr/bin/pkg", line 412, in image_update > img.imageplan.execute() > File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", > line 479, in execute > p.execute_update(src, dest) > File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line > 292, in execute_update > dest.install(self, src) > File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line > 120, in install > os.chmod(temp, mode) > OSError: [Errno 2] No such file or directory: > '/tmp/tmpdawH1_/opt/DTT/Code/Python/func_abc.py' > > What should I be inspecting it for to see what went wrong?
You're seeing bug 2928 which is really a duplicat eof bug 1333. In short, you should be able to workaround it by uninstalling SUNWDTraceToolkit first and then performing the update again. Once the update is complete, you can reinstall the toolkit. Cheers, -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
