[Aptitude-devel] Bug#816781: Bug#816781: aptitude: Can not cancel pending upgrade actions
Axel Beckert
abe at debian.org
Mon May 29 10:31:16 BST 2017
Hi,
Cesare Leonardi wrote:
> Steps to reproduce (always reproducible for me):
> - Open the TUI;
> - Press [u] to search for updates;
> - Review the upgradable package list and press [U] to mark them as
> upgradable;
> - Decide to postpone the real upgrade and exit from aptitude;
This is relevant here.
> - Re-enter the TUI but for some reason you want aptitude forget all
> pending actions by pressing the corresponding menu entry;
> - Observe that aptitude make some work but doesn't actually forget
> nothing.
That's expected.
> Note that the same command works as expected if it's given during the
> same session, without exit.
Exactly.
Before you press the corresponding menu entry, but after already
having selected it, aptitude will show the following long description
in the status line:
Cancel all pending actions from this session
So this menu entry only cancels actions which weren't scheduled in
previous sessions on purpose.
So maybe we should be a little bit more verbose with the short
description in the menu or maybe even split "Cancel pending actions"
into two separate menu entries:
* Cancel pending actions of this session
* Cancel all pending actions
or similar.
For now, what should do what you want is calling "aptitude keep-all"
on the commandline.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Aptitude-devel
mailing list