diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-12-19 20:44:54 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-12-19 20:44:54 +0100 |
commit | 4cc152f93acf2eaf3ae66424cd4aaf47cad14a7b (patch) | |
tree | a4a3929cad0a3aa6a8dce653b9957084a9daa014 /apt-pkg/algorithms.cc | |
parent | 59b46c414d5a5cebd26bdafac6b08fa4d1ba0963 (diff) | |
download | apt-4cc152f93acf2eaf3ae66424cd4aaf47cad14a7b.tar.gz |
* apt-pkg/algorithms.cc:
- when encountering a or-group in pkgProblemResolver::Resolver(), check
if it IsCritical(), otherwise we may do checking on weak-depends and
confuse the system badly
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 0d486d102..e1b9406e2 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -841,7 +841,12 @@ bool pkgProblemResolver::Resolve(bool BrokenFix) OldEnd = LEnd; } else + { Start++; + // We only worry about critical deps. + if (Start.IsCritical() != true) + continue; + } // Dep is ok if ((Cache[End] & pkgDepCache::DepGInstall) == pkgDepCache::DepGInstall) |