rpm 5.4.10 for testing in th-test

Jan Rękorajski baggins at pld-linux.org
Wed Sep 12 07:33:15 CEST 2012


On Tue, 11 Sep 2012, Jeffrey Johnson wrote:

> 
> On Sep 11, 2012, at 5:22 PM, Jan Rękorajski <baggins at pld-linux.org> wrote:
> 
> >> 
> >> Any idea why the code above isn't being traversed? I'm
> >> missing something here, any help appreciated.
> > 
> > dep in question is of the TYPE_VERSION here, comes from package being
> > installed and it is 'mpd < 0.16.5-4'
> > 'group(mpd)' comes from the rpmdb Provides iteration later on.
> > 
> 
> Because I lack specifics, I need clarification:
> 
> 	Is the
> 		Provides: group(mpd)
> 	retrieved from Providename index in rpmdb matching a
> 		Conflicts: mpd < 0.16.5-4
> 	from a package header in the code you posted?
> 
> That's broken imho (and I should have enough details
> to find the flaw if/when you confirm).

Yes, this is exactly what is happening.
IMHO rpmdsCompare needs a test (A->ns.Type == B->ns.Type), but I dont't
know if it won't cause side-effects.

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list