Second steps of the transition from Livna to RPM Fusion begins: Enabling RPM Fusion for users of livna-testing!

Michael Schwendt mschwendt at gmail.com
Mon Oct 27 09:56:35 CET 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repoview.diff
Type: application/octet-stream
Size: 515 bytes
Desc: not available
Url : http://lists.rpmfusion.org/pipermail/rpmfusion-developers/attachments/20081027/0028810f/repoview-0001.obj


More information about the rpmfusion-developers mailing list