summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-09-19 12:04:02 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-09-19 12:04:02 +0200
commit021626db10191cc4388b0516687dbc51bba18820 (patch)
tree9fc672146579ad5823dfa3d8420bb1a0ae8b3bd1 /apt-pkg/depcache.cc
parent9abb228384185565478a137446a74e42af0c95b5 (diff)
* apt-pkg/pkgcache.cc:
- ignore negative dependencies applying in the same group for M-A:same packages on the real package name as self-conflicts
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 2656e9b42..deb8ec21f 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -346,7 +346,7 @@ bool pkgDepCache::CheckDep(DepIterator Dep,int Type,PkgIterator &Res)
/* Check simple depends. A depends -should- never self match but
we allow it anyhow because dpkg does. Technically it is a packaging
bug. Conflicts may never self match */
- if (Dep.TargetPkg() != Dep.ParentPkg() || Dep.IsNegative() == false)
+ if (Dep.IsIgnorable(Res) == false)
{
PkgIterator Pkg = Dep.TargetPkg();
// Check the base package