LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora 9 => Fedora 12 Preupgrade error. Help? (https://www.linuxquestions.org/questions/linux-software-2/fedora-9-%3D-fedora-12-preupgrade-error-help-787802/)

arashi256 02-08-2010 11:06 AM

Fedora 9 => Fedora 12 Preupgrade error. Help?
 
I am using preupgrade to update Fedora 9 -> Fedora 12 following these steps: -

Code:

yum -y update
yum clean all
yum install preupgrade
preupgrade-cli
preupgrade-cli "<FEDORA VERSION>"
reboot

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.

Code:

(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>
    pu.main(myrelease)
  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
    misc.generate_repodata(dir,comps,callback)
  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
    mdgen.doRepoMetadata()
  File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 658, in doRepoMetadata
    rp.getPrimary(complete_path, csum)
  File "/usr/lib/python2.5/site-packages/sqlitecachec.py", line 45, in getPrimary
    self.repoid))
TypeError: Parsing primary.xml error: attributes construct error

What can I do to fix this please?

Thanks.

amani 02-08-2010 12:07 PM

Fedora9 to Fedora12 was never part of the goals. Upgrade from Fedora11 to Fedora12 is possible and has been tested. Anyway file a bug report at redhat bugzilla


All times are GMT -5. The time now is 04:33 PM.