]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefile.cc
Merge remote-tracking branch 'mvo/feature/acq-trans' into debian/experimental
[apt.git] / apt-pkg / cachefile.cc
index 0fd40106f677b1751d52adb353d0d5e3cefb710f..ea3d454806223943e2902ebef8e1eb2071ec44b7 100644 (file)
@@ -143,6 +143,9 @@ bool pkgCacheFile::BuildDepCache(OpProgress *Progress)
    if (DCache != NULL)
       return true;
 
+   if (BuildPolicy(Progress) == false)
+      return false;
+
    DCache = new pkgDepCache(Cache,Policy);
    if (_error->PendingError() == true)
       return false;