groups.xml causing grief with dnf

Maciek Borzecki maciek.borzecki at
Mon Mar 10 20:56:35 UTC 2014


Some time ago I have reported a bug for dnf
where 'dnf grouperase <whatever>' fails without clear reason. Did some
investigation and it seems that groups.xml in RH KDE repo is different
from what I see in regular Fedora repositories.

In groups.xml from Fedora repositories, for every <group> node, there
are <id> and <name> nodes. However, in KDE repo the nodes are named
<_id> and <_name> respectively. This will cause dnf to fail as while
the xml is loaded, node names become class members and the rest of the
code relies on particular member naming.

At this stage I don't know whether it's a problem with KDE repo or
dnf, but it's worth noting that yum does not seem to suffer from
similar problem. So I'd guess dnf still has work to do before it
becomes Fedora's yum replacement.

Any ideas where this discrepancy between schema of both files might come from?

Maciek Borzecki

More information about the kde mailing list