[Aptitude-devel] Bug#813319: Bug#813319: aptitude: customizing output: "%O" switch breaks the search

Axel Beckert abe at debian.org
Sun Jan 31 22:11:14 UTC 2016


Control: retitle -1 aptitude: No error message and no output at all if unknown escape sequence is used with -F
Control: reopen -1
Control: found -1 0.7.5-3

Hi,

Axel Beckert wrote:
> Florian Zieboll wrote:
> > Package: aptitude
> > Version: 0.6.11-1+b1
[…]
> > The "%O" switch for "aptitude -F" does not work, tested with Debian/i386,
> > Devuan/amd64 and Armbian/armhf, all Jessie. While e.g.
> 
> No wonder: "%O" only got introduced very recently in 0.7.5-1. It also
> works fine with that version.

after having had some conversation with Florian by private mail, we
came to the conclusion that his bug report was caused by the following
two real issues:

* The documentation on https://aptitude.alioth.debian.org/ only covers
  the newest version of aptitude. We might want to put up
  documentation also for other versions in currently supported Debian
  releases.

* Even on Debian unstable, "aptitude -F '%X' search '?installed'" just
  exits with return code 255, but gives no error message at all and
  hence causes confusion about what happened if a user tries escape
  sequences only supported by newer versions of aptitude or if there's
  a typo in an escape sequence.

The latter definitely should be fixed in aptitude. The former is a
nice to have in our documentation update infrastructure at
https://anonscm.debian.org/cgit/aptitude/aptitude-documentation-fetcher.git/

		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