[Bug 668297] extragear/sysadmin/libqapt/src

Jonathan Thomas echidnaman at kubuntu.org
Fri Oct 29 18:41:27 UTC 2010


SVN commit 1191149 by jmthomas:

Also read the pin file so that settings in /etc/apt/preferences.d/ will work as well.
I'll see about using pkgCacheFile in QApt::Cache once I can get a feel for how it works/what I'll have to do differently in Cache to maintain binary compatibility, etc.

CCMAIL: 668297 at bugs.launchpad.net


 M  +1 -1      cache.cpp  


--- trunk/extragear/sysadmin/libqapt/src/cache.cpp #1191148:1191149
@@ -123,7 +123,7 @@
     // Open the cache file
     d->cache = new pkgCache(d->mmap);
     d->policy = new pkgPolicy(d->cache);
-    if (!ReadPinFile(*(d->policy))) {
+    if (!ReadPinFile(*(d->policy)) || !ReadPinDir(*(d->policy))) {
         return false;
     }

-- 
Does not work with preferences.d
https://bugs.launchpad.net/bugs/668297
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qapt in ubuntu.




More information about the kubuntu-bugs mailing list