[Aptitude-devel] Bug#752517: aptitude: wrong %v %V order in man aptitude section -F

Manuel informmanuel at gmail.com
Tue Jun 24 12:05:04 UTC 2014


Package: aptitude
Version: 0.6.11-1
Severity: normal


man aptitude section -F says

-F <format>, --display-format <format>
 Specify the format which should be used to display output from the search and versions commands. For instance, passing “%p %V %v” for <format> will display a package's name, followed by its currently installed version and its available version ...


# aptitude search ~U -F "%p %s %V %v"|grep git
git                                     vcs        1:2.0.0-2      1:1.9.2-1
git-man                                 doc        1:2.0.0-2      1:1.9.2-1


# aptitude search ~U -F "%p %s %v %V"|grep git
git                                     vcs        1:1.9.2-1      1:2.0.0-2
git-man                                 doc        1:1.9.2-1      1:2.0.0-2

# git --version
git version 1.9.2


%V is the available version
%v is the currently installed version




-- Package-specific info:
Terminal: xterm-256color
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.6.11 compiled at Jun  9 2014 20:46:57
Compiler: g++ 4.8.3
Compiled against:
  apt version 4.12.0
  NCurses version 5.9
  libsigc++ version: 2.2.11
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20140118
  cwidget version: 0.5.17
  Apt version: 4.12.0

aptitude linkage:
	linux-vdso.so.1 (0x00007fff923ef000)
	libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f9d0dc5d000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f9d0da28000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f9d0d7fd000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f9d0d5f8000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f9d0d2f1000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f9d0d034000)
	libboost_iostreams.so.1.55.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.55.0 (0x00007f9d0ce1c000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f9d0ca1e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9d0c800000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9d0c4f5000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9d0c1f4000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9d0bfdd000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9d0bc34000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f9d0ba31000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9d0b82c000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9d0b614000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f9d0b404000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f9d0b1e0000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9d0afd8000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f9d0add2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9d0e5e6000)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  aptitude-common           0.6.11-1
ii  libapt-pkg4.12            1.0.5
ii  libboost-iostreams1.55.0  1.55.0+dfsg-1
ii  libc6                     2.19-3
ii  libcwidget3               0.5.17-1
ii  libgcc1                   1:4.9.0-7
ii  libncursesw5              5.9+20140118-1
ii  libsigc++-2.0-0c2a        2.2.11-3
ii  libsqlite3-0              3.8.4.3-1
ii  libstdc++6                4.9.0-7
ii  libtinfo5                 5.9+20140118-1
ii  libxapian22               1.2.17-1

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-doc  <none>
pn  libparse-debianchangelog-perl   <none>
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
pn  apt-xapian-index  <none>
pn  debtags           <none>
ii  tasksel           3.20

-- no debconf information



More information about the Aptitude-devel mailing list