[Aptitude-devel] Bug#902536: Bug#902536: Document how to detect 'newer than in the archive' installed packages

Axel Beckert abe at debian.org
Wed Jun 27 15:24:51 BST 2018


Control: severity -1 wishlist
Control: tag -1 + confirmed

Hi Jidanni,

積丹尼 Dan Jacobson wrote:
> So aptitude needs a new ~ search term, like ~o, but for packages in the
> $ apt-show-versions | grep newer
> firefox:amd64 61.0~b8-1 newer than version in archive
> libffi6:amd64 3.3~20160224-1 newer than version in archive
> state.

This can be done with pure aptitude pattern matching, i.e. also
interactively and without needing shell pipes:

→ which aptitude-newer-than-in-archive
aptitude-newer-than-in-archive: aliased to aptitude -o "Aptitude::Pkg-Display-Limit=~i ?any-version(!~O.) !~U !~o"

> Or at least add my example to the aptitude manual. I'm sure one would
> want to detect such packages.

There is the idea to provide a bunch of example shell scripts like the
one (still an alias here) above.

Your bug report assures me that there is some demand for such a set of
aptitude example scripts.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://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