summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-03-01 21:59:03 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-03-01 21:59:03 +0100
commit1ec1653cd4849423e0d5f769ecbfab2d6f16c4ad (patch)
treec812736ee9b1e36c28123aad2e6d4697e364c6ad /apt-pkg/depcache.h
parent70ae240915df3ef89715d71d5fe7a6910cbf057e (diff)
We need to kill also pseudo packages which have no dependency, no
installed reverse dependency and which also doesn't provide something. They cause problems if this pseudo packages get new dependencies. As a consequence we also need to recheck the dependencies of a killed pseudo package (and especially the providers of these dependencies) to really kill all non required packages.
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 23b29cc13..ea605f199 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -332,6 +332,7 @@ class pkgDepCache : protected pkgCache::Namespace
inline operator pkgCache &() {return *Cache;};
inline Header &Head() {return *Cache->HeaderP;};
inline PkgIterator PkgBegin() {return Cache->PkgBegin();};
+ inline GrpIterator FindGrp(string const &Name) {return Cache->FindGrp(Name);};
inline PkgIterator FindPkg(string const &Name) {return Cache->FindPkg(Name);};
inline PkgIterator FindPkg(string const &Name, string const &Arch) {return Cache->FindPkg(Name, Arch);};