Re: olpc-updating from another XO

2008-07-12 Thread C. Scott Ananian
On Sat, Jul 12, 2008 at 8:07 AM, Morgan Collett
<[EMAIL PROTECTED]> wrote:
> I'm trying to update an XO (with build 656) from another XO (currently
> joyride 2133 or so).

You are likely seeing http://dev.laptop.org/ticket/7448.  I made a fix
in pilgrim which is in joyride-2153 and later; I haven't tested an
upgrade from 656 yet to confirm that my patch completely fixed the
problem; there might be other troublesome symlinks.

> (I have tried about 10 times to olpc-update this XO over the Internet
> but sooner or later it always fails, and when I retry it starts over.

Yes, 656 is not very smart about retries.  =(  More recent
olpc-updates do much better.  You might try using the '-f' option.

> Following the directions on
> http://wiki.laptop.org/go/Olpc-update#Update_Using_Another_Laptop I
> set up the hints file. However I get the following when running
[...]
> Is the version of olpc-update on 656 perhaps too old? Anything else I can try?

No, the layout expected by olpc-update hasn't changed since 650.
However, I think the instructions on the wiki are either not quite
complete, or have been edited since the last time I went through and
tested them.

olpc-update will expect a directory structure like the following under
the root path you provide in the hints file:
  /contents
  /root/usr
  /root/bin
  etc

The rsync.conf file provided seems to be putting the contents file at
/contents/contents, if I'm reading it correctly.   Do:
  rsync updates.laptop.org::build-joyride-2153/
and make sure your XO server's filespace looks the same.

*Finally*: I think you'd be best off just using a USB upgrade:
  http://wiki.laptop.org/go/Olpc-update#USB_upgrade

Keeping in mind that all of these schemes may fail on 656 due the trac
#7448.   Updating your olpcupdate RPM will solve #7448, but then you
hit http://dev.laptop.org/ticket/7372 .

I'll fix these bugs, it just takes time!
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


olpc-updating from another XO

2008-07-12 Thread Morgan Collett
I'm trying to update an XO (with build 656) from another XO (currently
joyride 2133 or so).

(I have tried about 10 times to olpc-update this XO over the Internet
but sooner or later it always fails, and when I retry it starts over.
This is using up my pay-per-GB bandwidth very fast.)

Following the directions on
http://wiki.laptop.org/go/Olpc-update#Update_Using_Another_Laptop I
set up the hints file. However I get the following when running
olpc-update -vv --hints hints.json:

bash-3.2# olpc-update -vv --hints hints.json
Updating to version hash a8cd0f3b4a6f9117ec3947c02f060d04
Deleting old incomplete update 6b78ecd53912f989003bc2ee7989e01e
Making clean /versions/updates/a8cd0f3b4a6f9117ec3947c02f060d04
Trying rsync update from
rsync://192.168.8.76/pristine/a8cd0f3b4a6f9117ec3947c02f060d04
 - Fetching contents.
rsync: link_stat "/a8cd0f3b4a6f9117ec3947c02f060d04/contents" (in
pristine) failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(1385) [receiver=2.6.9]
Update failed: Command '['rsync', '-z',
'rsync://192.168.8.76/pristine/a8cd0f3b4a6f9117ec3947c02f060d04/contents',
'/versions/updates/a8cd0f3b4a6f9117ec3947c02f060d04.contents']'
returned non-zero exit status 23
No more update methods to try.

Is the version of olpc-update on 656 perhaps too old? Anything else I can try?

Here's my hints.json:

["a8cd0f3b4a6f9117ec3947c02f060d04","normal",[["rsync","rsync://192.168.8.76/pristine/a8cd0f3b4a6f9117ec3947c02f060d04"]]]

Regards
Morgan
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel