Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-08-2010, 11:06 AM   #1
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
Fedora 9 => Fedora 12 Preupgrade error. Help?

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/", line 305, in <module>
  File "/usr/share/preupgrade/", line 270, in main
    self.generate_repo(cachedir, comps) # TODO: callback?
  File "/usr/lib/python2.5/site-packages/preupgrade/", line 651, in generate_repo
  File "/usr/lib/python2.5/site-packages/preupgrade/", line 131, in generate_repodata
    generate_repodata(dir, comps, callback)
  File "/usr/lib/python2.5/site-packages/preupgrade/", line 148, in generate_repodata_f9
  File "/usr/lib/python2.5/site-packages/createrepo/", line 658, in doRepoMetadata
    rp.getPrimary(complete_path, csum)
  File "/usr/lib/python2.5/site-packages/", line 45, in getPrimary
TypeError: Parsing primary.xml error: attributes construct error
What can I do to fix this please?

Old 02-08-2010, 12:07 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade to Fedora 11 on my PS3 via preupgrade Dr_Death_UAE Linux - General 2 06-18-2009 05:28 PM
Problems after PreUpgrade to Fedora 9 zephyr.zhao Fedora 2 06-21-2008 04:42 PM
Got a problem upgrading to fedora 9 using preupgrade... The_Trooper Fedora 3 06-04-2008 07:39 PM
fedora 9 through preupgrade---how???? abhattacharya Fedora 1 05-25-2008 01:30 PM
LXer: Upgrade Your Desktop From Fedora 8 To Fedora 9 With PreUpgrade LXer Syndicated Linux News 0 05-20-2008 09:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration