[Aptitude-devel] Bug#644544: aptitude does not fully update suggest/recommend dependency changes on conflict resolution

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Jan 14 00:42:28 UTC 2016


Control: tags -1 + moreinfo unreproducible


Hi Yann,

2011-10-06 21:19 Yann Dirson:
>Package: aptitude
>Version: 0.6.4-1
>Severity: normal
>
>After pulseaudio migrated to testing with an upgrade from "suggests:
>rtkit" to a "recommends", higging "U" selects rtkit for install, with
>flag "auto-installed". So far, OK.
>
>There are a couple of conflicts, and I select a resolution that
>"keeps" pulseaudio - to the version that has the "suggests", that is.
>But rtkit is kept, listed as "piA", but with the "reason" panel
>listing no recommends or depends, but just the suggests.

I think that the problem of the case above lies in ambiguity of
interpreting what the user wants.

In this situation, if you Undo (Control-U), it would Undo previous
actions, including reverting the selection to install rtkit
automatically.

If you simply fiddle with packages back and forth, aptitude doesn't
exactly know which ones you installed willingly and which you didn't.
One interpretation is that maybe you liked the decision to install
rtkit, and just decided to not install the dependency after all.  It
might also happen that other packages that you had installed recommended
rtkit, so once selected to install, it will not be removed
automatically.

It would be nice to know what happened if/when you pressed 'g' for the
preview, I guess that it would have deselected rtkit.


Trying to reproduce this with a random set of packages
(lib4store0-dbgsym and lib4store0), if I press "+" on the former the
latter gets "piA", same as in your case.  If then I press "-" on
lib4store0-dbgsym to keep it uninstalled, lib4store0 gets immediately
deselected (== kept uninstalled).

So I think that this got somehow fixed in the interim.

Can you still reproduce it?


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list