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

Re: preupgrade from f11 to rawhide broken? python traceback



On Mon, Sep 28, 2009 at 01:01:32PM -0400, Seth Vidal wrote:
> 
> 
> 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.
> 

# ls /var/cache/yum
fedora  preupgrade  updates

# cd /var/cache/yum

# find -iname '*primary*'
./updates/77201d8b7218d4edb8d0762c1aa1cbbe5975fdc571d0787f1920a0a204b1188d-primary.sqlite
./preupgrade/f854960bfcacf06e2a8cb03cf3928a38c8e4e2fa860bed984a0edb89555600cf-primary.sqlite
./preupgrade/.repodata/primary.xml.gz
./preupgrade/.repodata/primary.xml.gz.sqlite
./fedora/6a8bfab8ebcbc79f9827f5b16bc1bd1573c068f141bf47c6f216e72dd8b60ff0-primary.sqlite


I put it available online here:
http://pasik.reaktio.net/fedora/rawhide-primary.xml.gz

Firefox complains about it btw..

XML Parsing Error: not well-formed
Location: http://pasik.reaktio.net/fedora/rawhide-primary.xml.gz
Line Number 42622, Column 68:      
      <rpm:entry name="group(saslauth)" flags="EQ" epoch="0" ver=""Saslauthd"/>
-------------------------------------------------------------------^

-- Pasi


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