Reboot apparently fixed it for me as well. I think I get to this kind of
problem every time I try to install the "lsof" utility from the blastwave IPS
repository:
jack at solarisunix:/opt# pkg search -r lsof
INDEX ACTION VALUE PACKAGE
basename file opt/csw/libexec/lsof/5.9/i386/lsof pkg:/IPSlsof at
0.5.11-2.6
jack at solarisunix:/opt# pkg info -r IPSlsof
Name: IPSlsof
Summary: lsof - list open files
State: Not installed
Authority: blastwave
Version: 0.5.11
Build Release: 5.10
Branch: 2.6
Packaging Date: Wed May 14 17:28:55 2008
Size: 1.1 MB
FMRI: pkg://blastwave/IPSlsof at 0.5.11,5.10-2.6:20080514T172855Z
jack at solarisunix:/opt# pkg install IPSlsof
DOWNLOAD PKGS FILES XFER (MB)
IPSgdbm 5/6 0/7 0.00/0.15
PHASE ACTIONS
Install Phase 2102/2173 Action install failed for
'opt/csw/libexec/lsof/5.10/lsof' (pkg://blastwave/IPSlsof):
OSError: [Errno 2] No such file or directory
pkg: An unexpected error happened during installation: [Errno 2] No such file
or directory
The Boot Environment opensolaris failed to be updated. A snapshot was taken
before the failed attempt and is mounted here /tmp/tmpXP7SvM. Use 'beadm
unmount opensolaris_static:-:2008-12-21-03:47:01' and then 'beadm activate
opensolaris_static:-:2008-12-21-03:47:01' if you wish to boot to this BE.
Traceback (most recent call last):
File "/usr/bin/pkg", line 1830, in ?
ret = main_func()
File "/usr/bin/pkg", line 1794, in main_func
return install(img, pargs)
File "/usr/bin/pkg", line 648, in install
img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 606,
in execute
p.execute_install(src, dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 259, in
execute_install
dest.install(self, src)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/hardlink.py", line 80,
in install
os.link(target, path)
OSError: [Errno 2] No such file or directory
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 the output of 'pkg version'.
jack at solarisunix:/opt#
--
This message posted from opensolaris.org