[Aptitude-devel] Bug#640731: Wrong priority shown by aptitude -versions

Daniel Hartwig mandyke at gmail.com
Thu Sep 6 08:51:20 BST 2012


Package: aptitude
Version: 0.6.8.1-1
Tags: confirmed
Followup-For: Bug #640731
Control: retitle -1 aptitude: wrong priority shown for versions

Also affects the interactive interface on version items.  Package
items are ok.

> Package: empathy* fglrx* *glx* gir1* gnome* […]
> Pin: release a=experimental
> Pin-Priority: 992
>
> Package: empathy* fglrx* *glx* gir1* gnome* […]
> Pin: release a=unstable
> Pin-Priority: 991

For a given package, we can retrieve the maximum priority of these
entries using:

pkgPolicy::GetPriority(pkgCache::PkgIterator const &)

but not the specific priority tied to the version from each release.

This is also a problem in apt-cache [1].

[1] http://bugs.debian.org/483145



More information about the Aptitude-devel mailing list