preupgrade from f11 to rawhide broken? python traceback

Pasi Kärkkäinen pasik at iki.fi
Thu Oct 8 19:54:28 UTC 2009


On Wed, Oct 07, 2009 at 08:19:28AM -0400, Seth Vidal wrote:
> 
> 
> On Wed, 7 Oct 2009, Pasi Kärkkäinen wrote:
> 
> >On Thu, Oct 01, 2009 at 10:51:36PM +0300, Pasi Kärkkäinen wrote:
> >>>>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"/>
> >>-------------------------------------------------------------------^
> >>
> >
> >Does this help? Did you have time to take a look at it? Other people
> >seem to be having the same problem..
> >
> 
> update to yum from f11-updates (3.2.24) and the problem goes away.
> 
> -sv

Indeed, yum 3.2.24 fixed the problem.

Thanks!

-- Pasi




More information about the fedora-devel-list mailing list