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 <[email protected]>

_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to