[Aptitude-devel] Bug#576319: Bug#576319: aptitude: "Cancel pending actions" erase "h - hold" state

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Jan 21 23:30:21 UTC 2016


Control: tags -1 - moreinfo + pending


Hi all,

2015-09-25 20:01 To Axel Beckert:
>
>- "Cancel pending actions" is not strongly attached to "keep", so since
> people are annoyed about the side-effects, we could easily change the
> behaviour, command description and the documentation... and hope for
> the best.
>
> If there are complaints, we can provide "Cancel pending actions,
> including holds", or "Unhold all packages currently on hold".

I am going to fix this by making "Cancel pending actions" to reload the
cache, which is roughly equivalent to restart the program without
exiting and starting again (effectively forgetting all what was marked
in this session).

I think that this is more consistent with "Cancel pending actions" as
described by the original report and other users, than the previous
behaviour -- removing all holds and auto-installed flags of all packages
in the system, even if they had not been changed in this session.


Most of the other discussion in the report deals with changing "keep"
and "keep-all" behaviours to adhere to what we want to achieve with this
menu action, so instead, by detaching both, we don't have to consider
how fixing this problem affects other use cases.

Conversely, there are many other open bug reports (how "keep" or other
actions reset "hold" status and "auto" flags) which overlap with the
matters discussed in this report, so I think that it's more appropriate
to consider each use case and fix separately and its effects in turn,
rather than globally.


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



More information about the Aptitude-devel mailing list