On Fri, Nov 11, 2005 at 04:01:04PM +0100, "Artur R. Czechowski" <[EMAIL 
PROTECTED]> was heard to say:
> On Wed, Nov 09, 2005 at 07:05:30PM -0800, Daniel Burrows wrote:
> > On Thu, Nov 10, 2005 at 01:30:37AM +0100, "Artur R. Czechowski" <[EMAIL 
> > PROTECTED]> was heard to say:
> >   Does putting the line
> > Aptitude::ProblemResolver::Discard-Null-Solution "false";
> >   in /etc/apt/apt.conf fix this behavior?
> Yes, it fix the problem.

  Ok, in that case I have a pretty good guess of what's going on.  The
problem resolver (since 0.4) won't ever generate a solution that cancels
every single action that you requested (by setting the modes of the
packages you want to change back to "keep"), unless that option is set
to "false".  Probably you got tripped up by that.

  I'm not sure that this behavior is entirely desirable; it avoids
generating a solution that's useless in some cases, but at the cost of
making the resolver's behavior a little obscure by inexplicably hiding
perfectly valid solutions. I got talked into it by some people on IRC,
but I know I've found it annoying myself; I think that I might change
how it works so that it just applies a large penalty to the "cancel
everything" solution (thus causing it to show up after other solutions).

  Daniel

Attachment: signature.asc
Description: Digital signature

Reply via email to