Hi, On Mon, 11 Feb 2008, Michael Matz wrote:
I've asked coolo to try the attached patch^Whack (it still wouldn't be completely correct, but at least it won't try to install incompatible candidates over already installed packages).
Although it doesn't help coolo (which is really strange, there must be still some other entity which also adds candidates :-( ), let's at least attach the thing I thought would help, perhaps it sparks some ideas.
An idea it sparks is for example "carefully count parentheses in long conditions" :-) Here's a patch which actually works. It ignores all candidates which have an Arch incompatible with the Arch from the installed package. Theoretically that's too strict (e.g. an update of a i586 package to a i686 package could be allowed), and what it should test against is actually the system architecture, not the one from the installed. Whatever, that's a good approximation for a hack, and lets testing proceed. Ciao, Michael.