I am using preupgrade to update Fedora 9 -> Fedora 12 following these steps: -
yum -y update
yum clean all
yum install preupgrade
preupgrade-cli "<FEDORA VERSION>"
I successfully upgraded this box from Fedora 6 => Fedora 9 and I guess I got too confident when this worked without a hitch and went straight from Fedora 9 => Fedora 12. Everything works up until the very end of the upgrade process when I get this error.
(process:2227): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing primary.xml error: Couldn't find end of Start Tag rpm:entry line 15303
Traceback (most recent call last):
File "/usr/share/preupgrade/preupgrade-cli.py", line 305, in <module>
File "/usr/share/preupgrade/preupgrade-cli.py", line 270, in main
self.generate_repo(cachedir, comps) # TODO: callback?
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 651, in generate_repo
File "/usr/lib/python2.5/site-packages/preupgrade/misc.py", line 131, in generate_repodata
generate_repodata(dir, comps, callback)
File "/usr/lib/python2.5/site-packages/preupgrade/misc.py", line 148, in generate_repodata_f9
File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 658, in doRepoMetadata
File "/usr/lib/python2.5/site-packages/sqlitecachec.py", line 45, in getPrimary
TypeError: Parsing primary.xml error: attributes construct error
What can I do to fix this please?