On Tue, Feb 05, 2008 at 09:33:02AM +0100, Roland Stigge <[EMAIL PROTECTED]> was 
heard to say:
> Daniel Burrows wrote:
> > On Tue, Jan 22, 2008 at 12:04:12PM +0100, Roland Stigge <[EMAIL PROTECTED]> 
> > was heard to say:
> >> there was just another example for the problem: After a system upgrade
> >> ("u", "U", "g"), without problems, I pressed "U", "g" again, and as you
> >> can see below, some further packages were automatically removed which
> >> were not removed in the first run. Pressing "U", "g" a third time,
> >> another packages was upgraded:
> > 
> >   After you pressed "U", were there dependencies that had to be
> > resolved?
> 
> I think so, but I'm not sure. Will need to check next time I encounter
> the issue.
> 
> How would I see it? On pressing "g" afterwards, I've seen a list of
> "resolving results". Or how would I see it beforehand?

  Yes, the list that comes up when you press "g" is one way.  Also,
you'll get a red bar down at the bottom of the screen.  See, e.g.,

    http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s02s04.html

  The reason I ask, btw, is that the resolver is *not* necessarily
idempotent in combination with "U".  That is, if you carry out its
suggestions and it doesn't manage to upgrade everything, then the new
input to the resolver will be different and it might settle on a
solution that isn't a strict subset of the solution it found before.
Also (see below) the resolver currently refuses by default to tell you
to cancel all pending actions, so while it's happy to hold a subset of
your packages back, it won't hold that set back when those are the only
upgradable packages left.

  I would also be interested in knowing whether you see the same
behavior if you run aptitude with the command-line argument
"-o Aptitude::ProblemResolver::Discard-Null-Solution=false'.  i.e., when
it's telling you to make changes the second time you run it, try passing
that option and see if anything changes (specifically: does it try to
hold all packages back?)

  Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to