[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: preupgrade from f11 to rawhide broken? python traceback





On Sat, 26 Sep 2009, Pasi Kärkkäinen wrote:

Hello,

I have fully updated Fedora 11 x86_64 system, and when I run
"preupgrade-cli" I get this:

..
..
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs

(process:1779): 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 99665

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.6/site-packages/preupgrade/__init__.py", line 651, in generate_repo
   misc.generate_repodata(dir,comps,callback)
 File "/usr/lib/python2.6/site-packages/preupgrade/misc.py", line 131, in generate_repodata
   generate_repodata(dir, comps, callback)
 File "/usr/lib/python2.6/site-packages/preupgrade/misc.py", line 148, in generate_repodata_f9
   mdgen.doRepoMetadata()
 File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 829, in doRepoMetadata
   rp.getPrimary(complete_path, csum)
 File "/usr/lib64/python2.6/site-packages/sqlitecachec.py", line 45, in getPrimary
   self.repoid))
TypeError: Parsing primary.xml error: attributes construct error


Known problem? How to fix it?

this is the second time I've seen this one - if you can find the primary.xml in /var/cache/yum/anaconda* directory, I'd appreciate seeing it.

thanks
-sv

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]