Thanks a lot for finding this bug! I think the fix is not ideal as it will init the depcache twice,
we probably want to export pkgApplyStatus instead.
The code in python-apt cache.cc creates a new pkgCacheFile() and runs Open() on that which will in
turn run pkgDepCache.init(). But it will not run "pkgApplyStatus()" (maybe it should?).
Thanks a lot for finding this bug! I think the fix is not ideal as it will init the depcache twice,
we probably want to export pkgApplyStatus instead.
The code in python-apt cache.cc creates a new pkgCacheFile() and runs Open() on that which will in
turn run pkgDepCache.init(). But it will not run "pkgApplyStatus()" (maybe it should?).