On Mon, 27 Oct 2008 08:39:46 +0100, Thorsten Leemhuis wrote:
I had to disable repoview for now, as it fails for SRPM repos with
the
repodata generated by the new createrepo:
"""
Traceback (most recent call last):
File "/usr/bin/repoview", line 865, in ?
main()
File "/usr/bin/repoview", line 861, in main
force=opts.force)
File "/usr/bin/repoview", line 354, in __init__
self._getPrimary()
File "/usr/bin/repoview", line 445, in _getPrimary
if not self._doPackage(package):
File "/usr/bin/repoview", line 468, in _doPackage
package = Package(pkgdata)
File "/usr/bin/repoview", line 164, in __init__
self.sourcerpm = pkgdata['sourcerpm']
File "/usr/lib/python2.4/site-packages/yum/mdparser.py", line 73, in
__getitem__
return self._p[k]
KeyError: 'sourcerpm'
"""
Does anybody want to look at that? Is anybody aware of a fix for this?
Brute-force work-around is attached.