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

Julian Andres Klode jak at debian.org
Mon Mar 9 09:06:40 GMT 2020

On Mon, Mar 09, 2020 at 02:40:44AM +0100, Axel Beckert wrote:
> 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
> damage?
> 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! :-)



APT 1.1 replaced per-package pins by per-version pins, but still
caculated the old pins and provided the A{B,P}I to access them,
despite not using them anymore. This has been removed in apt 1.9.

It's not clear what you'd want to show here, given that a pin
applies to a version and not a package these days.

debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

More information about the Aptitude-devel mailing list