[Aptitude-devel] Bug#814038: aptitude: Provide a way to reverse order with any of the available sorting criterias

Axel Beckert abe at debian.org
Sun Feb 14 15:20:03 UTC 2016

Control: severity -1 minor
Control: retitle -1 aptitude: Document how to reverse the order of the available sorting criterias


Manuel A. Fernandez Montecelo wrote:
> >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.

Thanks! That's what I was looking for!

So it's solely a documentation issue. Raising severity from wishlist
to minor then and retitling the bug report accordingly.

		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