[Rpm-metadata] Update 0.4.11-0.9.8: AttributeError: 'module' object has no attribute 'RPMSENSE_PREREQ'
seth vidal
skvidal at fedoraproject.org
Tue Sep 14 22:04:24 UTC 2010
On Tue, 2010-09-14 at 23:40 +0200, Anders F Björklund wrote:
> David C. Rankin wrote:
>
> > I updated my createrepo install to the current 0.9.8 package on my
> > Arch Linux server. I have 4 openSUSE repos I maintain. All updates
> > with createrepo worked fine with 0.4.11. After updating to the
> > following:
> >
> > [...]
> > File "/usr/lib/python2.6/site-packages/yum/packages.py", line
> > 1359, in _is_pre_req
> > rpm.RPMSENSE_SCRIPT_PRE |
> > AttributeError: 'module' object has no attribute 'RPMSENSE_PREREQ'
> >
> > I know very little about python, so I need a bit of help on
> > where I should start trying to figure out what is going on. Any ideas?
>
> Yum needs a patch to work with 4.4.3 and beyond (such as your 5.1.9)
>
> Easiest is just adding the enum values, rather than conditionals...
rpm 4.7.X and rpm 4.8.x work fine with yum 3.2.2X
-sv
More information about the Rpm-metadata
mailing list