[Aptitude-devel] Towards better upgrading.

Daniel Burrows dburrows at debian.org
Thu Feb 5 16:07:45 UTC 2009

On Mon, Feb 02, 2009 at 08:27:46PM -0800, Daniel Burrows <dburrows at debian.org> was heard to say:
>   I'm looking at whether it's possible to equip the resolver with the
> ability to reason about "hypotheticals", so that it can run in the
> background without altering the current package states.  I haven't
> decided whether this is actually desirable in this case (with
> upgrades), but it's not too hard a hack and may be useful in other
> circumstances anyway.

  Ok, I have a version of this in the code that passes a very basic
unit test (a better unit test would be nice).  It's not yet exposed
to the aptitude layer, but that will be easy to arrange.  The main
advantage of this (IMO) is that the user won't see a bunch of broken
packages temporarily while the upgrade is being calculated.


More information about the Aptitude-devel mailing list