#9815 NORM 1.5-sof: olpc-update error

Zarro Boogs per Child bugtracker at laptop.org
Sat Dec 5 13:48:20 EST 2009


#9815: olpc-update error
------------------------------------+---------------------------------------
           Reporter:  culseg        |       Owner:                     
               Type:  defect        |      Status:  new                
           Priority:  normal        |   Milestone:  1.5-software-update
          Component:  not assigned  |     Version:  1.5-B2             
         Resolution:                |    Keywords:  olpc-update        
        Next_action:  never set     |    Verified:  0                  
Deployment_affected:                |   Blockedby:                     
           Blocking:                |  
------------------------------------+---------------------------------------

Old description:

> On os51,  having used olpc-update since os46, am getting continuing
> errors try to update to either os53 or os54 whether rebooting, or in
> Terminal or in virtual terminal, as follows:
>

> ==
>
> [olpc at xo-73-22-f8 log]$ su
> [root at xo-73-22-f8 log]# olpc-update f11_xo1.5-54
> Downloading contents of build f11_xo1.5-54.
> Updating to version hash 001d835ddf0474453268bdb09c467293
> Traceback (most recent call last):
>   File "/usr/sbin/olpc-update", line 209, in <module>
>     if __name__ == '__main__': main ()
>   File "/usr/sbin/olpc-update", line 75, in main
>     olpc_update(options, args)
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 73, in new_f
>     return f(*args, **kwds)
>   File "/usr/sbin/olpc-update", line 206, in olpc_update
>     force=options.force, poweroff=options.poweroff)
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 104, in new_f
>     return f(*args, **kwds)
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 73, in new_f
>     return f(*args, **kwds)
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 340, in perform_update
>     trim_config(partitioned, cur_hash)
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 131, in trim_config
>     rewrite_symlink("../%s" % cur_hash, "/bootpart/boot/alt")
>   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
> 117, in rewrite_symlink
>     tmpdir = mkdtemp(prefix='sym', dir=os.path.dirname(dst))
>   File "/usr/lib/python2.6/tempfile.py", line 318, in mkdtemp
>     _os.mkdir(file, 0700)
> OSError: [Errno 30] Read-only file system: '/bootpart/boot/symWUCRmp'
> [root at xo-73-22-f8 log]# ^C
>

> ==
>
> Thanks,
>
> Sandy

New description:

 On os51,  having used olpc-update since os46, am getting continuing errors
 try to update to either os53 or os54 whether rebooting, or in Terminal or
 in virtual terminal, as follows:


 ==
 {{{
 [olpc at xo-73-22-f8 log]$ su
 [root at xo-73-22-f8 log]# olpc-update f11_xo1.5-54
 Downloading contents of build f11_xo1.5-54.
 Updating to version hash 001d835ddf0474453268bdb09c467293
 Traceback (most recent call last):
   File "/usr/sbin/olpc-update", line 209, in <module>
     if __name__ == '__main__': main ()
   File "/usr/sbin/olpc-update", line 75, in main
     olpc_update(options, args)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 73, in new_f
     return f(*args, **kwds)
   File "/usr/sbin/olpc-update", line 206, in olpc_update
     force=options.force, poweroff=options.poweroff)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 104, in new_f
     return f(*args, **kwds)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 73, in new_f
     return f(*args, **kwds)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 340, in perform_update
     trim_config(partitioned, cur_hash)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 131, in trim_config
     rewrite_symlink("../%s" % cur_hash, "/bootpart/boot/alt")
   File "/usr/lib/python2.6/site-packages/bitfrost/update/setup.py", line
 117, in rewrite_symlink
     tmpdir = mkdtemp(prefix='sym', dir=os.path.dirname(dst))
   File "/usr/lib/python2.6/tempfile.py", line 318, in mkdtemp
     _os.mkdir(file, 0700)
 OSError: [Errno 30] Read-only file system: '/bootpart/boot/symWUCRmp'
 [root at xo-73-22-f8 log]# ^C
 }}}

 ==

 Thanks,

 Sandy

--

Comment(by cjb):

 This is caused by #9792, which was fixed in os52.  There's a workaround
 mentioned in #9792 that should let you run olpc-update to get to a later
 build containing the fix.

 Thanks for writing out the report.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9815#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list