[Aptitude-devel] Bug#816781: aptitude: Can not cancel pending upgrade actions
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sat Jun 11 10:17:28 UTC 2016
Hi,
2016-05-25 10:02 Andrei Demekhov:
>Hello, Manuel,
>
>I cannot cancel pending actions which were scheduled by parsing the
>output from debsecan in this way:
>
># debsecan --only-fixed --suite sid|fgrep urgency |fgrep -v low|awk
>'{print $2}'|sort -u|xargs aptitude --schedule-only install
>
>This behaviour might be related to the bug in question, and I find it
>inconvenient. Do we still have any opportunity of one-touch cancelling
>some scheduled actions in aptitude?
"keep-all", which is what this menu action used to do.
Alternatively, you can select those packages which are going to be
upgraded ("~aupgrade"), or in general not to keep in the same state
("!~akeep"), and only act on them.
Something like:
aptitude keep '!~akeep' [1]
Cheers.
[1] "Beware of bugs in the above code; I have only proved it correct,
not tried it." [2] ;-)
[2] https://en.wikipedia.org/wiki/Donald_Knuth
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list