[Aptitude-devel] Bug#816781: aptitude: Can not cancel pending upgrade actions
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sat Mar 5 13:00:25 UTC 2016
Control: tags -1 + wontfix
Hi Zhang,
2016-03-05 07:46 Zhang Jingqiang:
>Package: aptitude
>Version: 0.7.7-1
>Severity: important
>
>Dear Maintainer,
>
>I have a local repos, and add some newer packages to it.
>And aptitude failed to install it, which has been pending in # #816537.
>Then I try to "Cancel pending actions", but nothing can be canceled.
The behaviour has been changed recently, so that when one goes ahead
with the installation, the state is saved to more places than aptitude's
internal state (e.g. dpkg), on which other tools feed.
Since some parts of this state cannot be undone, and since there were
other problems associated with this (e.g. removing "hold" state which
had been set in previous sessions), "Cancel pending actions" has been
changed in 0.7.6 to just cancel pending (as in "not confirmed/saved")
actions, rather than marking all packages as "keep" and destroying other
things in the way.
Perhaps we should change the name of the menu entry to reflect the
change of behaviour, but sadly the name fits much better the new
behaviour, and the previous behaviour's menu entry should have been
named instead "Keep all packages in its current state" or "Reset state
of all packages".
If you want to go back to the state before confirming the upgrade
intentions, you have to mark the packages to be upgraded as "keep".
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list