[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753297: apt list --upgradable gives lot of false positives: possible solution



On Mon, Jul 21, 2014 at 05:52:11PM +0200, Michael Musenbrock wrote:
> Package: apt
> Version: 1.0.6
> Followup-For: Bug #753297

Thanks for your patch!

[..] 
> for me the problem (listing packages as upgradable if they are not) occurs for all
> packages, which have a newer version in an archive with lower APT:Pinning score.
> 
> So if I understood the source correctly, the pkgPolicy handles the candidate version
> in respect to the correct pinning.
> The attached patch [1] should do the trick.
[..]

This is fixed in git now and it will be part of the next upload. Your
patch was superhelpful to get to the bottom of the problem, the new
apt binary did not always initialize the depcache/policy in the right
order so that the depcache ended up with the wrong pkgPolicy. This
should be fixed in HEAD and a test was added.

Cheers,
 Michael


Reply to: