Code review comment for lp:~aptdaemon-developers/python-apt/fix-cannot-locate-file

Revision history for this message
Michael Vogt (mvo) wrote :

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?).

« Back to merge proposal