[indiana-discuss] OpenSolaris development package repository build 106, x86/x64/SPARC
Antonello Cruz
Antonello.Cruz at Sun.COM
Wed Feb 4 11:37:31 PST 2009
Zsolt,
I got help from dduvall on #pgk5 (irc.freenode.net) and he solved the
problem and filed the bug 6371.
The fix is to replace "pkg.spawn" for "posix_pspawnp" in line 58 of file
/usr/lib/python2.4/vendor-packages/pkg/pkgsubprocess.py
After that I was able to image-update successfully.
It is not clear, for now, why some systems need this fix while others
don't. I updated my laptop yesterday and it went fine...
Make sure you save a copy of the original file, in case things don't go
as expected.
Antonello
Zsolt Suri wrote:
> Hello,
>
> I tried to update but got this:
>
> xxx at yyy:~$ pfexec pkg image-update
> DOWNLOAD PKGS FILES XFER (MB)
> Completed 583/583 10382/10382 280.46/280.46
>
> PHASE ACTIONS
> Removal Phase 6/3194 Action removal failed for 'xpvtap' (pkg:/SUNWcakrx):
> OSError: [Errno 12] Not enough space
> The running system has not been modified. Modifications were only made to a clone of the running system. This clone is mounted at /tmp/tmpxic62K should you wish to inspect it.
>
> pkg: An unexpected error happened during image-update: [Errno 12] Not enough space
> Traceback (most recent call last):
> File "/usr/bin/pkg", line 2259, in ?
> __ret = main_func()
> File "/usr/bin/pkg", line 2206, in main_func
> return image_update(mydir, pargs)
> File "/usr/bin/pkg", line 579, in image_update
> api_inst.execute_plan()
> File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 482, in execute_plan
> self.img.imageplan.execute()
> File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 689, in execute
> p.execute_removal(src, dest)
> File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 280, in execute_removal
> src.remove(self)
> File "/usr/lib/python2.4/vendor-packages/pkg/actions/driver.py", line 734, in remove
> {"name": self.attrs["name"]})
> File "/usr/lib/python2.4/vendor-packages/pkg/actions/driver.py", line 96, in __call
> stderr = subprocess.STDOUT)
> File "/usr/lib/python2.4/vendor-packages/pkg/pkgsubprocess.py", line 55, in __init__
> env, universal_newlines, startupinfo, creationflags)
> File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
> errread, errwrite)
> File "/usr/lib/python2.4/subprocess.py", line 902, in _execute_child
> self.pid = os.fork()
> OSError: [Errno 12] Not enough space
>
>
> 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 '048096a95369'.
> xxx at yyy:~$ df -h
> Filesystem Size Used Avail Use% Mounted on
> rpool/ROOT/opensolaris-2
> 15G 6.2G 8.5G 42% /
> swap 688M 324K 688M 1% /etc/svc/volatile
> /usr/lib/libc/libc_hwcap1.so.1
> 15G 6.2G 8.5G 42% /lib/libc.so.1
> swap 688M 16K 688M 1% /tmp
> swap 688M 48K 688M 1% /var/run
> rpool/export 8.5G 19K 8.5G 1% /export
> rpool/export/home 8.5G 19K 8.5G 1% /export/home
> rpool/export/home/xxx
> 9.7G 1.2G 8.5G 12% /export/home/xxx
> rpool 8.5G 77K 8.5G 1% /rpool
> rpool/ROOT/opensolaris-3
> 15G 6.2G 8.5G 42% /tmp/tmpUdXBYw
> rpool/ROOT/opensolaris-4
> 15G 6.2G 8.5G 42% /tmp/tmpxic62K
> xxx at yyy:~$ uname -a
> SunOS yyy 5.11 snv_105 i86pc i386 i86pc Solaris
> xxx at yyy:~$
>
> any idea?
>
> Br,Zsolt
More information about the indiana-discuss
mailing list