[Aptitude-devel] Bug#760608: aptitude: No format string for package architecture

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Nov 23 20:25:46 UTC 2015

Control: tags -1 + moreinfo
Control: retitle -1 aptitude: No format string (%-escape) for package architecture

Hi Rogier,

2014-09-06 00:07 Rogier:
>Package: aptitude
>Version: 0.6.11-1
>Severity: wishlist
>Dear Maintainer,
>With the advent of multi-arch systems, the architecture of a
>package shown by aptitude is no longer implicitly known. Please
>add a format string for a package's architecture.

The %p one ("package name") shows for quite a while now also the
architecture for foreign packages, in the form of "libc6:sparc" vs
"libc6" for the native architecture.

It would be nice in a way to have a escape for architecture, but the
number of one-letter escapes is almost exhausted [1], and in particular
all of the "obvious" choices like %a %A %r %R are taken, and we have
quite a few requests to add fields like this yet (and for things that
don't have any alternative, like "source" or "origin").

Unless we start to use unusual characters or multiple letters, I am not
sure if this is possible to implement.

It needs more consideration, thus the +moreinfo.

[1] http://aptitude.alioth.debian.org/doc/en/ch02s05s01.html

Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>

More information about the Aptitude-devel mailing list