[Aptitude-devel] Bug#953402: aptitude: %i display format no more works, just displays "(pinning not available)"

Axel Beckert abe at debian.org
Mon Mar 9 01:40:44 GMT 2020

Package: aptitude
Version: 0.8.12-3
Severity: normal

I use %i to show me in the aptitude package list which packages I have
pinned and which not.

Since at least 0.8.12-3 (maybe also 0.8.12-2, didn't check), i.e. the
patches for APT 2.0 (or linking against APT 1.9/2.0) this no more works
and even shows for pinned packages just "(pinning not available)".

Example setting from /root/.aptitude/config:

aptitude::UI::Package-Display-Format "%c%a%M%Si %p %r %9Z %8I %15v# %15V#";

Not sure if this is related to 1.9.11's

  * policy: Implement pinning by source package (Closes: #166032)

as this seems to have no direct relation as just potentially affecting
source packages. But maybe this caused some unintended collateral

Julian: Can you please comment if this is a expected change which
requires changes in aptitude or some unintended changes which needs
fixing in apt? (And if the latter is the case, maybe reassigning the bug
report and setting a proper "affects". TIA! :-)

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20200309/0bab71b8/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.12-3
ii  libapt-pkg6.0             2.0.0
ii  libboost-iostreams1.67.0  1.67.0-17
ii  libc6                     2.29-10
ii  libcwidget4               0.5.18-5
ii  libgcc-s1                 10-20200304-1
ii  libncursesw6              6.2-1
ii  libsigc++-2.0-0v5         2.10.2-1
ii  libsqlite3-0              3.31.1-4
ii  libstdc++6                10-20200304-1
ii  libtinfo6                 6.2-1
ii  libxapian30               1.4.14-2

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-13
ii  sensible-utils                 0.0.12+nmu1

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.51
ii  aptitude-doc-en [aptitude-doc]  0.8.12-3
ii  debtags                         2.1.5
ii  tasksel                         3.58

-- no debconf information

More information about the Aptitude-devel mailing list