diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-26 20:49:47 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-26 20:49:47 +0200 |
commit | 5c640e864f8b5f1c175682a94f6c6d0dff42d4bc (patch) | |
tree | 5432a933252d80c88d3697ddcee30a8905a64e2a /apt-pkg/depcache.cc | |
parent | 320352e00477f3b0cfd12efd736bd08c7908fecc (diff) |
always mark the all package if a pseudo package is marked for install
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 8bca3e36e..c93993ab1 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1255,6 +1255,10 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, Update(Pkg); AddSizes(Pkg); + // always trigger the install of the all package for a pseudo package + if (P.CandidateVerIter(*Cache).Pseudo() == true) + MarkInstall(Pkg.Group().FindPkg("all"), AutoInst, Depth, FromUser, ForceImportantDeps); + if (AutoInst == false) return; |