diff options
author | Michael Vogt <mvo@debian.org> | 2010-11-10 19:39:12 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2010-11-10 19:39:12 +0100 |
commit | 88b62c5b3d55fa2ac0c4e0f4f0a595c60101db59 (patch) | |
tree | 8ca43482d477b2a437d368e4ab1fa1c6ff6aaad8 /apt-pkg/algorithms.cc | |
parent | c1c49795f4ba33e56b5b741f07bba362f4d54c2e (diff) | |
parent | edbda33bdef6a480fcfcb5d6b9a219c10cbeaaba (diff) |
merged from donkult
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 961f5c2fa..9abb7a947 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1062,6 +1062,7 @@ bool pkgProblemResolver::Resolve(bool BrokenFix) else if (TryFixByInstall == true && Start.TargetPkg()->CurrentVer == 0 && Cache[Start.TargetPkg()].Delete() == false && + (Flags[Start.TargetPkg()->ID] & ToRemove) != ToRemove && Cache.GetCandidateVer(Start.TargetPkg()).end() == false) { /* Before removing or keeping the package with the broken dependency |