]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefile.cc
releasing package apt version 1.1~exp12
[apt.git] / apt-pkg / cachefile.cc
index 21486409577677c403f200a6f5ecbcc9a8d5851f..567e0ea9ad12c61efd359ef1dad050ab2d67bef5 100644 (file)
@@ -84,17 +84,14 @@ bool pkgCacheFile::BuildCaches(OpProgress *Progress, bool WithLock)
    if (WithLock == true)
       if (_system->Lock() == false)
         return false;
-   
-   if (_config->FindB("Debug::NoLocking",false) == true)
-      WithLock = false;
-      
+
    if (_error->PendingError() == true)
       return false;
 
    BuildSourceList(Progress);
 
    // Read the caches
-   bool Res = pkgCacheGenerator::MakeStatusCache(*SrcList,Progress,&Map,!WithLock);
+   bool Res = pkgCacheGenerator::MakeStatusCache(*SrcList,Progress,&Map, true);
    if (Progress != NULL)
       Progress->Done();
    if (Res == false)