Re: Update 0.4.11-0.9.8: AttributeError: 'module' object has no attribute 'RPMSENSE_PREREQ'

seth vidal <[email protected]> Tue, 14 Sep 2010 18:04:24 -0400
Newsgroups gmane.linux.rpm.metadata
Message-ID <1284501864.22440.1.camel@oliver>
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


_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata