[Aptitude-devel] Bug#814038: aptitude: Provide a way to reverse order with any of the available sorting criterias
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Mon Feb 8 21:49:07 UTC 2016
2016-02-07 19:13 Axel Beckert:
>Currently [S], Aptitude::UI::Default-Sorting and --sort allow a bunch of
>sorting criterias, e.g. "installsize". "installsize" sorts the smallest
>packages first. Nevertheless there currently
>seems no way to sort packages so that the biggest packages come first.
>While e.g. "aptitude search --sort installsize '~i' | tac" is a
>workaround on the commandline, there's no similar workaround for
>anything affecting the TUI interface.
I haven't checked so I don't know if it works 100%, and I don't know if
it's documented, but I think that prepending a ~ reverses the sort
policy direction, so "~installsize" should sort with the
largest-unpacked-size packages first.
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel