tis 2005-12-06 klockan 10:47 -0800 skrev Daniel Burrows:
>   The option is actually Aptitude::ProblemResolver::PreserveManualScore;
> no hyphen.  This is contrary to the documentation, which I've now fixed.
> The reason that this is not a very strong imperative is that it forces
> the program to try *very hard* to preserve the states of manual packages.
> This in turn means that it can be difficult to find any solution at all
> (indeed, I was able to quickly guide the search to a solution without
> setting this; with this option, it ran out of solutions almost right away).

That's certainly a negative side effect... I wasn't expecting that - I
was expecting more or less a reordering of solutions. Oh well, I guess
it can be hard to predict such algorithms.

Anyway, I do think that stability (= actually finding reasonable
solutions, even though the desired one is not always the first found) is
to prefer over 100% predictability (which is what I wanted :-).


> 
>   You could instead set Aptitude::CmdLine::Request-Strictness to a large
> value.  This just tries to preserve the states of packages listed on the
> command-line.  It isn't set by default because I feel that the command-line
> and the visual interface should have identical behavior.  Even this wasn't
> enough to make your preferred option come up first, although it was the
> third solution I got.

Seems like something for me to try then. 

Thanks for the analysis!

/Mikael
> 
>   Daniel
-- 
Plus ça change, plus c'est la même chose


Reply via email to