]> git.saurik.com Git - apt.git/commit - apt-private/private-cacheset.cc
Fix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)
authorMichael Vogt <mvo@debian.org>
Fri, 5 Sep 2014 10:03:28 +0000 (12:03 +0200)
committerMichael Vogt <mvo@debian.org>
Fri, 5 Sep 2014 10:05:21 +0000 (12:05 +0200)
commitd059cc2668f284a7db77a15d1d742326d464e963
treee0dab302f628dccb6cea44ec49f90eea91100bc0
parent3b5607fc31371190470074371793cb8500b5139e
Fix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)

The "apt list" command was using only the pkgDepCache but not the
pkgPolicy to figure out if a package is upgradable. This lead to
incorrect display of upgradable package when the user used the
policy to pin-down packages. Thanks to Michael Musenbrock for the
initial patch.

Closes: #753297
apt-private/private-cacheset.cc
apt-private/private-output.cc
test/integration/test-bug-753297-upgradable [new file with mode: 0755]