summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt/cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 86a788bb..aaa6595a 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -144,6 +144,7 @@ class Cache(object):
self._cache = apt_pkg.Cache(progress)
self._depcache = apt_pkg.DepCache(self._cache)
+ self._depcache.init(progress)
self._records = apt_pkg.PackageRecords(self._cache)
self._list = apt_pkg.SourceList()
self._list.read_main_list()