On Mon, Dec 03, 2007 at 10:00:45AM +0100, "Steinar H. Gunderson" <[EMAIL PROTECTED]> was heard to say: > On Sun, Dec 02, 2007 at 08:20:43PM -0800, Daniel Burrows wrote: > > Yes, this is a funny side effect of how aptitude scores solutions. > > I can't be 100% sure, but I *think* there are two effects here: > > > > (a) A penalty of 40 points for downgrading the package (installing > > a non-default version) > > (b) A bonus of 70 points for advancing the resolver one step. > > Could we split the "non-default version" penalty -- ie. differentiate between > installing a new, non-default version and downgrading an existing package? Of > course, it won't help much if we can't set it above 70 points.
Hm. We could even try setting the non-default penalty to 80. I don't know what sort of effects that would have, though. Feel free to try it at home: Aptitude::ProblemResolver::NonDefaultScore -80; Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

