http://bugzilla.novell.com/show_bug.cgi?id=607482
http://bugzilla.novell.com/show_bug.cgi?id=607482#c6
--- Comment #6 from Michael Andres
Oh, i recall now what's the problem with the architecture. Currently PoolQuery with architecture ORs the arch with the rest of the conditions, so the result are all packages with that arch plus something more.
That's the nature of PoolQuery. All conditions, you add are OR'ed. I thought you use guessPackageSpec?
Michael, can you please take care of that? (i'll take care of the segfault)
Anyway it would be consequent to add some additional addDependency overloads, so you can also restrict the arch, not just edition: q.addDependency( sat::SolvAttr::name, "ker*", Rel::GT, Edition("2.6.31"), Arch_x86_64 ); q.addDependency( sat::SolvAttr::name, "ker*", Arch_x86_64 ); Would this fit your needs? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.