Bug#758397: libapt-pkg4.12: no initializer for pkgDepCache::iPolicyBrokenCount

2014-08-28 Thread David Kalnischkies
Hi, On Sun, Aug 17, 2014 at 07:13:19AM +, micror...@gmail.com wrote: I'm trying to write a tool that uses libapt-pkg. I tried printing out Cache-PolicyBrokenCount() immediately after where I call Cache.BuildDepCache(Prog), and it was a huge number, like 21309720. Good catch - having a

Bug#758397: libapt-pkg4.12: no initializer for pkgDepCache::iPolicyBrokenCount

2014-08-17 Thread microrffr
Package: libapt-pkg4.12 Version: 1.0.6 Severity: normal Dear Maintainer, At the beginning of pkgDepCache::Update(OpProgress *), there are several lines that clear most of the counters. There isn't one for iPolicyBrokenCount. I think it's starting from some garbage value. I'm trying to write a