Problem with corrupt comps.xml file

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

 



Today I experienced problems running the front-end
apps (pirut and pup) - full error reproduced at the
end of this message. I tracked down the problem to an
invalid entry for digikamimageplugins in comps.xml
(/var/cache/yum/extras/comps.xml). The offending line
(with 1 line of context either side) is:

<packagereq type="optional">digikam</packagereq>
<packagereq
type="optinoal">digikamimageplugins</packagereq>
<packagereq type="optional">fontforge</packagereq>

As you can see, the 'type' attribute has a typo:
"optinoal". Having corrected the typo, the cache file
is then regenerated (incorrectly) whenever I run
either of the above apps. Even after executing a

yum clean all

the regenerated file continues to contain this typo,
hampering pup/pirut. yum itself *appears* to run OK
from the command-line (no packages marked for update,
but no errors given).

Does anyone know:

a) Why this is happening? I don't know much about the
workings of yum, but I assume this means there is
dodgy data in one of the repositories.

b) Why isn't the comps.xml file validated? There is a
DTD (comps.dtd) specified, but this doesn't appear to
be present on my system, and it's obviously not being
validated against.

c) How I can resolve this issue?

Many thanks,

- Bobby

----------------

Component: Software Manager
Summary: TB8a9160cb
comps.py:143:parse_package_list:CompsException

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 453, in ?
    main()
  File "/usr/sbin/pirut", line 449, in main
    pm.run()
  File "/usr/sbin/pirut", line 358, in run
    self.doRefresh()
  File "/usr/sbin/pirut", line 373, in doRefresh
    self.reposSetup(pbar)
  File
"/usr/lib/python2.4/site-packages/pirut/__init__.py",
line 153, in reposSetup
    self.doGroupSetup()
  File
"/usr/lib/python2.4/site-packages/yum/__init__.py",
line 408, in doGroupSetup
    self.comps.add(groupfile)
  File
"/usr/lib/python2.4/site-packages/yum/comps.py", line
339, in add
    group = Group(elem)
  File
"/usr/lib/python2.4/site-packages/yum/comps.py", line
57, in __init__
    self.parse(elem)
  File
"/usr/lib/python2.4/site-packages/yum/comps.py", line
133, in parse
    self.parse_package_list(child)
  File
"/usr/lib/python2.4/site-packages/yum/comps.py", line
143, in parse_package_list
    raise CompsException
CompsException

Local variables in innermost frame:
genre: optinoal
self: Graphics
package: digikam
packagelist_elem: <Element 'packagelist' at 0x964f110>
child: <Element 'packagereq' at 0x964f020>

----------------



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux