#8919 HIGH 8.2.0 (: olpc-update AssertionError
Zarro Boogs per Child
bugtracker at laptop.org
Thu Nov 27 21:58:17 EST 2008
#8919: olpc-update AssertionError
---------------------------------------+------------------------------------
Reporter: genesee | Owner: cscott
Type: defect | Status: new
Priority: high | Milestone: 8.2.0 (was Update.2)
Component: upgrade utility | Version:
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: 8.2 | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Changes (by mikus):
* owner: sayamindu => cscott
* component: terminal-activity => upgrade utility
* deployment_affected: => 8.2
Comment:
I normally run with joyride as the primary build on my XOs and 767 as the
alternate build. Sometimes the new (0.83) joyride builds fail to boot
(but not at initial install time - only on some subsequent reboot). My
customary recourse is to re-install joyride (with olpc-update, run from
767).
However, the 767 'olpc-update' can get an assert error. What I do then is
to remove from /versions/run those directories that are not in
/versions/pristine. After I have done so, 'olpc-update' runs and installs
what I wanted.
{{{
bash-3.2# olpc-update --full -v joyride-2568
Downloading contents of build joyride-2568.
Updating to version hash c75f6c0583a0eff8598b8e4703d691a2
Deleting old pristine version 039eb1c3637476ba249d29ba788ab370
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.5/site-packages/bitfrost/update/setup.py", line
68, 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.5/site-packages/bitfrost/update/setup.py", line
99, in
new_f
return f(*args, **kwds)
File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
68, in
new_f
return f(*args, **kwds)
File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
326, i
n perform_update
clean_versions(report, partitioned, cur_hash, new_hash)
File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
180, i
n clean_versions
assert len(f) > 0 and '.' not in f # defensive programming.
AssertionError
bash-3.2#
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/8919#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list