On 21 Jun 2008, at 21:30, Danek Duvall wrote:

> On Sat, Jun 21, 2008 at 08:42:34PM +0100, Chris Ridd wrote:
>
>>> I think this is a typo that we all missed in the review.  You are
>>> likely to have better results if you upgrade to the "build 91"  
>>> version
>>> of SUNWipkg:
>>>
>>>   pkg install [EMAIL PROTECTED]
>>
>> That's a corker of a typo.
>
> Er, yeah.  I guess we're just not used to releasing every build, so  
> this is
> the first time a single-build typo would have made a difference.  Or
> something.  :-/

If I hadn't heard of throwing stones when living in glass houses, I'd  
mutter about release testing at this point, but I won't...

>> Attempting to install the 0.91 version of SUNWipkg just resulted in
>> the same Python traceback I posted earlier.
>
> Huh.  Weird.  It shouldn't have gotten anywhere near the CPAN  
> package for
> that.
>
>> Installing the 0.91 version of SUNWipkg now works, and pkg image-
>> update is now doing its thing. Yay!
>
> Cool!

Actually, no.

bash-3.2# pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER  
(MB)
Completed                                1090/1090 10563/10563  
953.36/953.36

PHASE                                        ACTIONS
Removal Phase                              3804/3804
Update Phase                             12779/13754 Action upgrade  
failed for 'e1000g' (pkg:/SUNWintgige):
  OSError: [Errno 12] Not enough space
pkg: An unexpected error happened during image-update: [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/ 
tmph-X54F should you wish to inspect it.
Traceback (most recent call last):
   File "/usr/bin/pkg", line 1458, in ?
     ret = main_func()
   File "/usr/bin/pkg", line 1422, in main_func
     return image_update(img, pargs)
   File "/usr/bin/pkg", line 390, in image_update
     img.imageplan.execute()
   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",  
line 464, in execute
     p.execute_update(src, dest)
   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py",  
line 271, in execute_update
     dest.install(self, src)
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/driver.py",  
line 110, in install
     return self.__update_install(image, orig)
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/driver.py",  
line 195, in __update_install
     {"name": self.attrs["name"], "alias": i})
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/driver.py",  
line 64, in __call
     stderr = subprocess.STDOUT)
   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

That's a bit confusing - errno 12 is ENOMEM, not ENOSPC. Sun's xVM  
VirtualBox is running and probably using lots of memory so I'll shut  
it down on Monday and try again. I suspect it won't be useful, but I  
can take a look at /tmp/tmph-X54F if you'd like.

>> I'll capture the state of my installation during the problem, and
>> raise a bug against pkg tomorrow. (er, which bug database?)
>
> defect.opensolaris.org.  But if you're filing a bug against the stack
> trace, I believe that's fixed in the build 91 SUNWipkg, which is why  
> I had
> you upgrade to it.  :)


I won't file that bug then, but thanks for the URL.

Cheers,

Chris
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to