[Aptitude-devel] Bug#815544: aptitude using %e as display-format code leads to error without output always
Christoph Maser
cmaser at gmx.de
Mon Feb 22 09:45:02 GMT 2016
Package: aptitude
Version: 0.6.11-1+b1
Severity: important
Dear Maintainer,
when using the escape code "%e" in aptitude --display-format (-F) it will always return an empty result. (%O seems to fail too)
example:
~$ aptitude --display-format "%p%25?V|%25?v" search aptitude
aptitude 0.6.11-1+b1|0.6.11-1+b1
aptitude-common 0.6.11-1|0.6.11-1
aptitude-dbg 0.6.11-1+b1|<none>
aptitude-doc <none>|<none>
aptitude-doc-cs 0.6.11-1|<none>
aptitude-doc-en 0.6.11-1|0.6.11-1
aptitude-doc-es 0.6.11-1|<none>
aptitude-doc-fi 0.6.11-1|<none>
aptitude-doc-fr 0.6.11-1|<none>
aptitude-doc-it 0.6.11-1|<none>
aptitude-doc-ja 0.6.11-1|<none>
aptitude-doc-ru 0.6.11-1|<none>
aptitude-robot 1.3.4-1|<none>
~$ echo $?
0
~$ aptitude --display-format "%p|%e|%25?V|%25?v" search aptitude
~$ echo $?
255
-- Package-specific info:
Terminal: xterm-256color
$DISPLAY not set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.11 compiled at Nov 8 2014 13:34:39
Compiler: g++ 4.9.1
Compiled against:
apt version 4.12.0
NCurses version 5.9
libsigc++ version: 2.4.0
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20140913
cwidget version: 0.5.17
Apt version: 4.12.0
aptitude linkage:
linux-vdso.so.1 (0x00007ffd9599c000)
libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f79ec0d2000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f79ebe9c000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f79ebc72000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f79eba6c000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f79eb756000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f79eb48d000)
libboost_iostreams.so.1.55.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.55.0 (0x00007f79eb275000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f79eae64000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f79eac47000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f79ea93c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f79ea63b000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f79ea425000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f79ea07a000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f79e9e77000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f79e9c73000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f79e9a58000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f79e9848000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f79e9625000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f79e941d000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f79e9218000)
/lib64/ld-linux-x86-64.so.2 (0x00007f79eca94000)
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.6.11-1
ii libapt-pkg4.12 1.0.9.8.2
ii libboost-iostreams1.55.0 1.55.0+dfsg-3
ii libc6 2.19-18+deb8u2
ii libcwidget3 0.5.17-2
ii libgcc1 1:4.9.2-10
ii libncursesw5 5.9+20140913-1+b1
ii libsigc++-2.0-0c2a 2.4.0-1
ii libsqlite3-0 3.8.7.1-1+deb8u1
ii libstdc++6 4.9.2-10
ii libtinfo5 5.9+20140913-1+b1
ii libxapian22 1.2.19-1
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc] 0.6.11-1
ii libparse-debianchangelog-perl 1.2.0-1.1
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn debtags <none>
ii tasksel 3.31+deb8u1
-- no debconf information
More information about the Aptitude-devel
mailing list