On 26.10.2008 14:35, Thorsten Leemhuis wrote:
/me removed a few mailing lists from the CC
One more ripped
On 25.10.2008 19:16, Nicolas Mailhot wrote:
> Le samedi 25 octobre 2008 à 18:47 +0200, Thorsten Leemhuis a écrit :
>> On 25.10.2008 18:23, Nicolas Mailhot wrote:
>>> Le samedi 25 octobre 2008 à 17:04 +0200, Thorsten Leemhuis a écrit :
>>>> Find below a cut'n'pasted and slightly enhanced version of a post
from
>>>> my blog FYI:
>>>> As you'll likely have heard by now: RPM Fusion (
http://rpmfusion.org
),
>>>> the merger of Dribble, Freshrpms and Livna gets closer to its official
>>>> release/start.
>>> BTW,
>>> If rpmfusion can not use the modern proxy-friendly createro it should
>>> really define http_caching=packages in its yum repo files.
>> Updating createrepo seems like the way better plan to me instead of that
>> workaround. Could you be so kind and tell me which createrepo version we
>> need a least to get a "proxy-friendly createro"? Or is the answer
"just
>> use the latest and greatest" (host is a rhel5 or centos5)?
> All I can say is that the one used for the rawhide repository works. I
> think it's run on a rhel5 host too.
> A working version will have long hashes in the repodata filenames.
FYI, I updated createrepo on plague-server (where the repodata is
generated) to the version from rawhide and told the push script to pass
"--unique-md-filenames" to createrepo for the Fedora free repo. If there
are problems please let me know (next push is about to happen in an
hour or two); if everything works fine I'll enable it for the other
repos (EPEL, nonfree) as well.
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?
CU
knurd